| 364 | } |
| 365 | |
| 366 | [[nodiscard]] IntVect doiHi () const noexcept { |
| 367 | switch (m_bat_type) |
| 368 | { |
| 369 | case BATType::null: |
| 370 | return amrex::BATnull::doiHi(); |
| 371 | case BATType::indexType: |
| 372 | return m_op.m_indexType.doiHi(); |
| 373 | case BATType::coarsenRatio: |
| 374 | return amrex::BATcoarsenRatio::doiHi(); |
| 375 | case BATType::indexType_coarsenRatio: |
| 376 | return m_op.m_indexType_coarsenRatio.doiHi(); |
| 377 | default: |
| 378 | return m_op.m_bndryReg.doiHi(); |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | [[nodiscard]] IndexType index_type () const noexcept { |
| 383 | switch (m_bat_type) |