MCPcopy Create free account
hub / github.com/BLAST-WarpX/warpx / GetZeroParticlesInGrid

Method GetZeroParticlesInGrid

Source/Particles/MultiParticleContainer.cpp:918–925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

916}
917
918Vector<Long>
919MultiParticleContainer::GetZeroParticlesInGrid (const int lev) const
920{
921 const WarpX& warpx = WarpX::GetInstance();
922 const auto num_boxes = static_cast<int>(warpx.boxArray(lev).size());
923 Vector<Long> r(num_boxes, 0);
924 return r;
925}
926
927Vector<Long>
928MultiParticleContainer::NumberOfParticlesInGrid (int lev) const

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected