From 0f73d80cf0fa3002da76bdd7ba6456a1d0f09f48 Mon Sep 17 00:00:00 2001 From: Vuko Vukcevic Date: Wed, 23 Jan 2019 09:39:20 +0100 Subject: [PATCH] Added minimum protected level to protectedInitialRefinement --- .../protectedInitialRefinement.C | 33 +++++++++---------- .../protectedInitialRefinement.H | 3 ++ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/dynamicMesh/topoChangerFvMesh/dynamicPolyRefinementFvMesh/refinementSelection/protectedInitialRefinement/protectedInitialRefinement.C b/src/dynamicMesh/topoChangerFvMesh/dynamicPolyRefinementFvMesh/refinementSelection/protectedInitialRefinement/protectedInitialRefinement.C index ee408b1a0..f5b975908 100644 --- a/src/dynamicMesh/topoChangerFvMesh/dynamicPolyRefinementFvMesh/refinementSelection/protectedInitialRefinement/protectedInitialRefinement.C +++ b/src/dynamicMesh/topoChangerFvMesh/dynamicPolyRefinementFvMesh/refinementSelection/protectedInitialRefinement/protectedInitialRefinement.C @@ -105,8 +105,16 @@ Foam::protectedInitialRefinement::protectedInitialRefinement IOobject::AUTO_WRITE ), cellLevelAsField()() + ), + // Note: conversion from label to scalar + minProtectedLevel_ + ( + coeffDict().lookupOrDefault