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

Method sum

Src/Base/AMReX_MultiFab.cpp:1222–1226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1220}
1221
1222Real
1223MultiFab::sum (int comp, bool local) const
1224{
1225 return FabArray<FArrayBox>::sum(comp, IntVect(0), local);
1226}
1227
1228Real
1229MultiFab::sum (Box const& region, int comp, bool local) const

Callers 1

sum_uniqueMethod · 0.95

Calls 10

inLaunchRegionFunction · 0.85
ParReduceFunction · 0.85
CommunicatorSubFunction · 0.85
tileboxMethod · 0.80
SumFunction · 0.70
const_arraysMethod · 0.45
containsMethod · 0.45
isValidMethod · 0.45
okMethod · 0.45
const_arrayMethod · 0.45

Tested by

no test coverage detected