summaryrefslogtreecommitdiff
path: root/apps/adrian/cylinder2d
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-05-01 22:05:06 +0200
committerAdrian Kummerlaender2019-06-24 15:42:36 +0200
commitd316b74c25ea98d0145a9adad4ff9953f07581e4 (patch)
tree4c9ac360780b18701e6cba9336803ad27f83bca1 /apps/adrian/cylinder2d
parent8ba42a9a9dd2630a651d2cfa2e0ebc7fb1843100 (diff)
downloadgrid_refinement_openlb-d316b74c25ea98d0145a9adad4ff9953f07581e4.tar
grid_refinement_openlb-d316b74c25ea98d0145a9adad4ff9953f07581e4.tar.gz
grid_refinement_openlb-d316b74c25ea98d0145a9adad4ff9953f07581e4.tar.bz2
grid_refinement_openlb-d316b74c25ea98d0145a9adad4ff9953f07581e4.tar.lz
grid_refinement_openlb-d316b74c25ea98d0145a9adad4ff9953f07581e4.tar.xz
grid_refinement_openlb-d316b74c25ea98d0145a9adad4ff9953f07581e4.tar.zst
grid_refinement_openlb-d316b74c25ea98d0145a9adad4ff9953f07581e4.zip
Adapt refinement apps to meta-descriptor
Diffstat (limited to 'apps/adrian/cylinder2d')
-rw-r--r--apps/adrian/cylinder2d/optimized_grid/cylinder2d.cpp4
-rw-r--r--apps/adrian/cylinder2d/optimized_grid_n20/cylinder2d.cpp4
-rw-r--r--apps/adrian/cylinder2d/outflow_refinement/cylinder2d.cpp4
-rw-r--r--apps/adrian/cylinder2d/playground/cylinder2d.cpp4
4 files changed, 4 insertions, 12 deletions
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 <vector>
@@ -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;