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

Method dataShape

Src/Particle/AMReX_ArrayOfStructs.H:75–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 [[nodiscard]] ParticleType* dataPtr () { return data(); }
74
75 [[nodiscard]] std::pair<int,int> dataShape () const {
76 return std::make_pair(SizeInReal, static_cast<int>(m_data.size()));
77 }
78
79 void push_back (const ParticleType& p) { return m_data.push_back(p); }
80 void pop_back() {m_data.pop_back(); }

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected