From d316b74c25ea98d0145a9adad4ff9953f07581e4 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 1 May 2019 22:05:06 +0200 Subject: Adapt refinement apps to meta-descriptor --- apps/adrian/cylinder2d/optimized_grid/cylinder2d.cpp | 4 +--- apps/adrian/cylinder2d/optimized_grid_n20/cylinder2d.cpp | 4 +--- apps/adrian/cylinder2d/outflow_refinement/cylinder2d.cpp | 4 +--- apps/adrian/cylinder2d/playground/cylinder2d.cpp | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-) (limited to 'apps/adrian/cylinder2d') diff --git a/apps/adrian/cylinder2d/optimized_grid/cylinder2d.cpp b/apps/adrian/cylinder2d/optimized_grid/cylinder2d.cpp index 16fb95c..640311d 100644 --- a/apps/adrian/cylinder2d/optimized_grid/cylinder2d.cpp +++ b/apps/adrian/cylinder2d/optimized_grid/cylinder2d.cpp @@ -24,15 +24,13 @@ */ #include "olb2D.h" -#ifndef OLB_PRECOMPILED #include "olb2D.hh" -#endif using namespace olb; typedef double T; -#define DESCRIPTOR descriptors::D2Q9Descriptor +#define DESCRIPTOR descriptors::D2Q9<> /// Setup geometry relative to cylinder diameter as defined by [SchaeferTurek96] const T cylinderD = 0.1; diff --git a/apps/adrian/cylinder2d/optimized_grid_n20/cylinder2d.cpp b/apps/adrian/cylinder2d/optimized_grid_n20/cylinder2d.cpp index e4b0c5f..dffcc50 100644 --- a/apps/adrian/cylinder2d/optimized_grid_n20/cylinder2d.cpp +++ b/apps/adrian/cylinder2d/optimized_grid_n20/cylinder2d.cpp @@ -24,15 +24,13 @@ */ #include "olb2D.h" -#ifndef OLB_PRECOMPILED #include "olb2D.hh" -#endif using namespace olb; typedef double T; -#define DESCRIPTOR descriptors::D2Q9Descriptor +#define DESCRIPTOR descriptors::D2Q9<> /// Setup geometry relative to cylinder diameter as defined by [SchaeferTurek96] const T cylinderD = 0.1; diff --git a/apps/adrian/cylinder2d/outflow_refinement/cylinder2d.cpp b/apps/adrian/cylinder2d/outflow_refinement/cylinder2d.cpp index 5a6725b..0a601e0 100644 --- a/apps/adrian/cylinder2d/outflow_refinement/cylinder2d.cpp +++ b/apps/adrian/cylinder2d/outflow_refinement/cylinder2d.cpp @@ -24,15 +24,13 @@ */ #include "olb2D.h" -#ifndef OLB_PRECOMPILED #include "olb2D.hh" -#endif using namespace olb; typedef double T; -#define DESCRIPTOR descriptors::D2Q9Descriptor +#define DESCRIPTOR descriptors::D2Q9<> /// Setup geometry relative to cylinder diameter as defined by [SchaeferTurek96] const T cylinderD = 0.1; diff --git a/apps/adrian/cylinder2d/playground/cylinder2d.cpp b/apps/adrian/cylinder2d/playground/cylinder2d.cpp index c3c5c1b..3523161 100644 --- a/apps/adrian/cylinder2d/playground/cylinder2d.cpp +++ b/apps/adrian/cylinder2d/playground/cylinder2d.cpp @@ -24,9 +24,7 @@ */ #include "olb2D.h" -#ifndef OLB_PRECOMPILED #include "olb2D.hh" -#endif #include @@ -34,7 +32,7 @@ using namespace olb; typedef double T; -#define DESCRIPTOR descriptors::D2Q9Descriptor +#define DESCRIPTOR descriptors::D2Q9<> /// Setup geometry relative to cylinder diameter as defined by [SchaeferTurek96] const T cylinderD = 0.1; -- cgit v1.2.3