summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-02-15 12:01:47 +0100
committerAdrian Kummerlaender2019-06-24 15:18:01 +0200
commit1c8e18e97670e7944d1b42aaee1f20c1ddf778ec (patch)
treec1140147f3180b626941fe78987a07b06984209a /apps
parentbabe2dc2b72fad674be8aa48d6ec232a50d020df (diff)
downloadgrid_refinement_openlb-1c8e18e97670e7944d1b42aaee1f20c1ddf778ec.tar
grid_refinement_openlb-1c8e18e97670e7944d1b42aaee1f20c1ddf778ec.tar.gz
grid_refinement_openlb-1c8e18e97670e7944d1b42aaee1f20c1ddf778ec.tar.bz2
grid_refinement_openlb-1c8e18e97670e7944d1b42aaee1f20c1ddf778ec.tar.lz
grid_refinement_openlb-1c8e18e97670e7944d1b42aaee1f20c1ddf778ec.tar.xz
grid_refinement_openlb-1c8e18e97670e7944d1b42aaee1f20c1ddf778ec.tar.zst
grid_refinement_openlb-1c8e18e97670e7944d1b42aaee1f20c1ddf778ec.zip
Improve Knudsen refinement criterion functor
i.e. output cell-local quality information by default
Diffstat (limited to 'apps')
-rw-r--r--apps/adrian/cylinder2d/common/model.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/adrian/cylinder2d/common/model.h b/apps/adrian/cylinder2d/common/model.h
index 89b276b..d70208a 100644
--- a/apps/adrian/cylinder2d/common/model.h
+++ b/apps/adrian/cylinder2d/common/model.h
@@ -170,10 +170,12 @@ void getResults(Grid2D<T,DESCRIPTOR>& grid,
SuperLatticePhysPressure2D<T,DESCRIPTOR> pressure(sLattice, converter);
SuperLatticeGeometry2D<T,DESCRIPTOR> geometry(sLattice, sGeometry);
SuperLatticeKnudsen2D<T,DESCRIPTOR> knudsen(sLattice);
+ SuperLatticeRefinementMetricKnudsen2D<T,DESCRIPTOR> quality(sLattice, converter);
vtmWriter.addFunctor(geometry);
vtmWriter.addFunctor(velocity);
vtmWriter.addFunctor(pressure);
vtmWriter.addFunctor(knudsen);
+ vtmWriter.addFunctor(quality);
if (iT==0) {
vtmWriter.createMasterFile();