| 4496 | // Fill a version of the state with ng ghost zones from the state data. |
| 4497 | |
| 4498 | void |
| 4499 | Castro::expand_state(MultiFab& S, Real time, int ng) |
| 4500 | { |
| 4501 | BL_PROFILE("Castro::expand_state()"); |
| 4502 | |
| 4503 | BL_ASSERT(S.nGrow() >= ng); |
| 4504 | |
| 4505 | AmrLevel::FillPatch(*this, S, ng, time, State_Type, 0, NUM_STATE); |
| 4506 | } |
| 4507 | |
| 4508 | |
| 4509 | void |