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

Method contains

Src/Base/AMReX_BoxArray.cpp:976–984  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

974}
975
976bool
977BoxArray::contains (const IntVect& iv) const
978{
979 if (size() > 0) {
980 return intersects(Box(iv,iv,ixType()));
981 } else {
982 return false;
983 }
984}
985
986bool
987BoxArray::contains (const Box& b, bool assume_disjoint_ba, const IntVect& ng) const

Callers

nothing calls this directly

Calls 15

sizeFunction · 0.85
containsFunction · 0.85
shiftIntVectMethod · 0.80
isNotEmptyMethod · 0.80
intersectsFunction · 0.70
complementInFunction · 0.70
ixTypeMethod · 0.45
emptyMethod · 0.45
numPtsMethod · 0.45
reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected