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

Method ParallelAdd

Src/Base/AMReX_FabArrayCommI.H:338–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336
337template <class FAB>
338void
339FabArray<FAB>::ParallelAdd (const FabArray<FAB>& src, int src_comp, int dest_comp,
340 int num_comp, const IntVect& snghost, const IntVect& dnghost,
341 const IntVect& offset, const Periodicity& period)
342{
343 BL_PROFILE("FabArray::ParallelAdd()");
344
345 ParallelCopy_nowait(src,src_comp,dest_comp,num_comp,snghost,dnghost,offset,period,
346 FabArray::ADD);
347 ParallelCopy_finish();
348}
349
350template <class FAB>
351void

Callers 9

mainFunction · 0.45
mainFunction · 0.45
ParticleToMeshFunction · 0.45
ParticleToMeshFunction · 0.45
getSolutionMethod · 0.45
compRHSMethod · 0.45
refluxMethod · 0.45

Calls 2

ParallelCopy_nowaitFunction · 0.85
ParallelCopy_finishFunction · 0.85

Tested by

no test coverage detected