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

Function intersect

Src/Base/AMReX_BoxList.cpp:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99BoxList
100intersect (const BoxList& bl, const Box& b)
101{
102 BL_ASSERT(bl.ixType() == b.ixType());
103 BoxList newbl(bl);
104 newbl.intersect(b);
105 return newbl;
106}
107
108BoxList
109refine (const BoxList& bl, int ratio)

Callers 2

AMReX_BoxList.cppFile · 0.70
intersectMethod · 0.50

Calls 2

intersectMethod · 0.80
ixTypeMethod · 0.45

Tested by

no test coverage detected