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

Method firstLocal

Source/radiation/HypreMultiABec.cpp:147–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147int BndryAuxVarBase::firstLocal()
148{
149 const int MyProc = ParallelDescriptor::MyProc();
150 int i = 0;
151 while (distributionMap[i] != MyProc) {
152 i++;
153 if (i >= distributionMap.size()) {
154 i = -1;
155 break;
156 }
157 }
158 return i;
159}
160
161int BndryAuxVarBase::nextLocal(int i)
162{

Callers 3

buildMatrixStructureMethod · 0.80
loadMatrixMethod · 0.80
loadMatrixMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected