MCPcopy Create free account
hub / github.com/AMReX-Astro/Castro / reinitialize_connections

Method reinitialize_connections

Source/radiation/HypreMultiABec.cpp:439–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439void CrseBndryAuxVar::reinitialize_connections(Location loc)
440{
441 for (OrientationIter oitr; oitr; ++oitr) {
442 Orientation ori = oitr();
443 for (int i = firstLocal(); isValid(i); i = nextLocal(i)) {
444 int n = aux[ori][i].size();
445 for (int j = 0; j < n; j++) {
446 const Box& reg = aux[ori][i][j]->box();
447 for (IntVect v = reg.smallEnd(); v <= reg.bigEnd(); reg.next(v)) {
448 (*aux[ori][i][j])(v).clear();
449 }
450 }
451 }
452 }
453
454 initialize_secondaries(loc);
455}
456
457void CrseBndryAuxVar::initialize_secondaries(Location loc)
458{

Callers 2

loadMatrixMethod · 0.80
loadMatrixMethod · 0.80

Calls 2

sizeMethod · 0.80
clearMethod · 0.80

Tested by

no test coverage detected