| 154 | } |
| 155 | |
| 156 | Array<const FArrayBox*, AMREX_SPACEDIM> |
| 157 | EBFArrayBox::getEdgeCentData () const |
| 158 | { |
| 159 | if (m_factory && m_box_index >= 0) { |
| 160 | Array<MultiCutFab const*, AMREX_SPACEDIM> const& mfs = m_factory->getEdgeCent(); |
| 161 | if (mfs[0]->ok(m_box_index)) { |
| 162 | return {AMREX_D_DECL(&((*mfs[0])[m_box_index]), |
| 163 | &((*mfs[1])[m_box_index]), |
| 164 | &((*mfs[2])[m_box_index]))}; |
| 165 | } else { |
| 166 | return {AMREX_D_DECL(nullptr,nullptr,nullptr)}; |
| 167 | } |
| 168 | } else { |
| 169 | return {AMREX_D_DECL(nullptr,nullptr,nullptr)}; |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | const EBCellFlagFab& |
| 174 | getEBCellFlagFab (const FArrayBox& fab) |
nothing calls this directly
no test coverage detected