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

Method nextLocal

Source/radiation/HypreMultiABec.cpp:161–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161int BndryAuxVarBase::nextLocal(int i)
162{
163 const int MyProc = ParallelDescriptor::MyProc();
164 do {
165 i++;
166 if (i >= distributionMap.size()) {
167 i = -1;
168 break;
169 }
170 } while (distributionMap[i] != MyProc);
171 return i;
172}
173
174BndryAuxVar::BndryAuxVar(const BoxArray& _grids,
175 const DistributionMapping& _dmap,

Callers 3

buildMatrixStructureMethod · 0.80
loadMatrixMethod · 0.80
loadMatrixMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected