diff options
Diffstat (limited to 'apps/adrian/cylinder2d/outflow_refinement')
-rw-r--r-- | apps/adrian/cylinder2d/outflow_refinement/cylinder2d.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/adrian/cylinder2d/outflow_refinement/cylinder2d.cpp b/apps/adrian/cylinder2d/outflow_refinement/cylinder2d.cpp index 7e506c1..f1e6fa9 100644 --- a/apps/adrian/cylinder2d/outflow_refinement/cylinder2d.cpp +++ b/apps/adrian/cylinder2d/outflow_refinement/cylinder2d.cpp @@ -309,9 +309,7 @@ int main(int argc, char* argv[]) fineOutflowGrid.getSuperGeometry().reset(refined); } - prepareLattice(coarseGrid); - prepareLattice(fineOutflowGrid); - prepareLattice(fineOutflowGrid2); + coarseGrid.forEachGrid(prepareLattice); clout << "Total number of active cells: " << coarseGrid.getActiveVoxelN() << endl; clout << "Starting simulation..." << endl; |