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

Method addThisBD

Src/Base/AMReX_FabArrayBase.cpp:2549–2559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2547}
2548
2549void
2550FabArrayBase::addThisBD ()
2551{
2552 m_bdkey = getBDKey();
2553 int cnt = ++(m_BD_count[m_bdkey]);
2554 if (cnt == 1) { // new one
2555 m_FA_stats.recordMaxNumBoxArrays(static_cast<int>(m_BD_count.size()));
2556 } else {
2557 m_FA_stats.recordMaxNumBAUse(cnt);
2558 }
2559}
2560
2561void
2562FabArrayBase::updateBDKey ()

Callers 1

MFIterMethod · 0.80

Calls 3

recordMaxNumBoxArraysMethod · 0.80
recordMaxNumBAUseMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected