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

Method bytes

Src/Base/AMReX_FabArrayBase.cpp:233–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233Long
234FabArrayBase::CPC::bytes () const
235{
236 Long cnt = sizeof(FabArrayBase::CPC);
237
238 if (m_LocTags) {
239 cnt += amrex::bytesOf(*m_LocTags);
240 }
241
242 if (m_SndTags) {
243 cnt += FabArrayBase::bytesOfMapOfCopyComTagContainers(*m_SndTags);
244 }
245
246 if (m_RcvTags) {
247 cnt += FabArrayBase::bytesOfMapOfCopyComTagContainers(*m_RcvTags);
248 }
249
250 return cnt;
251}
252
253Long
254FabArrayBase::FB::bytes () const

Callers 7

flushCPCMethod · 0.80
flushFBMethod · 0.80
flushFPinfoMethod · 0.80
flushCFinfoMethod · 0.80
getTileArrayMethod · 0.80
flushTileArrayMethod · 0.80

Calls 1

capacityMethod · 0.45

Tested by

no test coverage detected