| 2281 | } |
| 2282 | |
| 2283 | void |
| 2284 | FabArrayBase::flushCFinfo (bool no_assertion) const |
| 2285 | { |
| 2286 | amrex::ignore_unused(no_assertion); |
| 2287 | BL_ASSERT(no_assertion || getBDKey() == m_bdkey); |
| 2288 | auto er_it = m_TheCrseFineCache.equal_range(m_bdkey); |
| 2289 | for (auto it = er_it.first; it != er_it.second; ++it) |
| 2290 | { |
| 2291 | #ifdef AMREX_MEM_PROFILING |
| 2292 | m_CFinfo_stats.bytes -= it->second->bytes(); |
| 2293 | #endif |
| 2294 | m_CFinfo_stats.recordErase(it->second->m_nuse); |
| 2295 | delete it->second; |
| 2296 | } |
| 2297 | m_TheCrseFineCache.erase(er_it.first, er_it.second); |
| 2298 | } |
| 2299 | |
| 2300 | void |
| 2301 | FabArrayBase::Finalize () |
nothing calls this directly
no test coverage detected