diff options
-rw-r--r-- | Source/Parallelization/WarpXRegrid.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Parallelization/WarpXRegrid.cpp b/Source/Parallelization/WarpXRegrid.cpp index 09cb7cb28..5a65327d1 100644 --- a/Source/Parallelization/WarpXRegrid.cpp +++ b/Source/Parallelization/WarpXRegrid.cpp @@ -145,6 +145,10 @@ WarpX::RemakeLevel (int lev, Real /*time*/, const BoxArray& ba, const Distributi m_field_factory[lev] = amrex::makeEBFabFactory(Geom(lev), ba, dm, {1,1,1}, // Not clear how many ghost cells we need yet amrex::EBSupport::full); + ComputeEdgeLengths(); + ComputeFaceAreas(); + ScaleEdges(); + ScaleAreas(); #else m_field_factory[lev] = std::make_unique<FArrayBoxFactory>(); #endif |