From 5e888fc13f38c94777963d72fc9e391cd4fa477a Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 30 Jan 2019 20:12:31 +0100 Subject: Manage dynamics, boundary condition memory in Grid2D Mainly to further declutter simulation and refinement setup --- src/refinement/grid2D.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/refinement/grid2D.h') diff --git a/src/refinement/grid2D.h b/src/refinement/grid2D.h index f58a4ea..37e764a 100644 --- a/src/refinement/grid2D.h +++ b/src/refinement/grid2D.h @@ -77,6 +77,9 @@ protected: std::unique_ptr> _geometry; std::unique_ptr> _lattice; + std::vector>> _dynamics; + std::vector>> _onLatticeBoundaryConditions; + std::vector>> _fineGrids; std::vector>> _fineCouplers; @@ -92,6 +95,9 @@ public: SuperGeometry2D& getSuperGeometry(); SuperLattice2D& getSuperLattice(); + Dynamics& addDynamics(std::unique_ptr>&& dynamics); + sOnLatticeBoundaryCondition2D& getOnLatticeBoundaryCondition(); + void collideAndStream(); FineCoupler2D& addFineCoupling( -- cgit v1.2.3