MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / match

Function match

Src/Base/AMReX_BoxArray.cpp:1930–1941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1928}
1929
1930bool match (const BoxArray& x, const BoxArray& y)
1931{
1932 if (x == y) {
1933 return true;
1934 } else {
1935 bool m = (x.size() == y.size()) && (x.ixType() == y.ixType());
1936 for (int i = 0, N = static_cast<int>(x.size()); i < N && m; ++i) {
1937 m = x[i] == y[i];
1938 }
1939 return m;
1940 }
1941}
1942
1943BoxArray decompose (Box const& domain, int nboxes,
1944 Array<bool,AMREX_SPACEDIM> const& decomp, bool no_overlap)

Callers 5

readMethod · 0.85
CopyMethod · 0.85
restartMethod · 0.85
ReadFunction · 0.85
ReadMethod · 0.85

Calls 2

sizeMethod · 0.45
ixTypeMethod · 0.45

Tested by

no test coverage detected