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

Method calc_intersects

Src/EB/AMReX_EBToPVD.cpp:378–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378void EBToPVD::calc_intersects(int& int_count, std::array<bool,12>& intersects_flags,
379 const std::array<Real,12>& alpha)
380{
381 int_count = 0;
382 std::ranges::fill(intersects_flags, false);
383
384 for(int lc1 = 0; lc1 < 12; ++lc1) {
385 if(intersects(alpha[lc1])) {
386 ++int_count;
387 intersects_flags[lc1] = true;
388 }
389 }
390}
391
392void EBToPVD::print_points(std::ofstream& myfile) const
393{

Callers

nothing calls this directly

Calls 2

fillFunction · 0.85
intersectsFunction · 0.70

Tested by

no test coverage detected