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

Method local_size

Src/Base/AMReX_FabArrayBase.H:113–113  ·  view source on GitHub ↗

Return the number of local FABs in the FabArray.

Source from the content-addressed store, hash-verified

111
112 //! Return the number of local FABs in the FabArray.
113 [[nodiscard]] int local_size () const noexcept { return static_cast<int>(indexArray.size()); }
114
115 //! Return constant reference to indices in the FabArray that we have access.
116 [[nodiscard]] const Vector<int> &IndexArray () const noexcept { return indexArray; }

Callers 15

main_mainFunction · 0.80
local_collate_cpuMethod · 0.80
local_collate_gpuMethod · 0.80
CrseInitMethod · 0.80
prepareSolverMethod · 0.80
prepareSolverMethod · 0.80
BndryCondLocMethod · 0.80
applyBCMethod · 0.80
interpolationMethod · 0.80
FsmoothMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected