summaryrefslogtreecommitdiff
path: root/apps/adrian/cylinder2d/playground
diff options
context:
space:
mode:
Diffstat (limited to 'apps/adrian/cylinder2d/playground')
-rw-r--r--apps/adrian/cylinder2d/playground/cylinder2d.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/adrian/cylinder2d/playground/cylinder2d.cpp b/apps/adrian/cylinder2d/playground/cylinder2d.cpp
index fdcd5a4..c3c5c1b 100644
--- a/apps/adrian/cylinder2d/playground/cylinder2d.cpp
+++ b/apps/adrian/cylinder2d/playground/cylinder2d.cpp
@@ -299,11 +299,7 @@ int main(int argc, char* argv[])
prepareGeometry(fineGrid4, domainOrigin, domainExtend);
disableRefinedArea(fineGrid3, fineGrid4);
- prepareLattice(coarseGrid);
- prepareLattice(fineGrid);
- prepareLattice(fineGrid2);
- prepareLattice(fineGrid3);
- prepareLattice(fineGrid4);
+ coarseGrid.forEachGrid(prepareLattice);
clout << "Total number of active cells: " << coarseGrid.getActiveVoxelN() << endl;
clout << "Starting simulation..." << endl;