Commit 130dfe7d authored by mattijs's avatar mattijs
Browse files

ENH: Added warning message about nGrow changed behaviour.

parent 53978459
...@@ -209,6 +209,15 @@ Foam::layerParameters::layerParameters ...@@ -209,6 +209,15 @@ Foam::layerParameters::layerParameters
nLayerIter_(readLabel(dict.lookup("nLayerIter"))), nLayerIter_(readLabel(dict.lookup("nLayerIter"))),
nRelaxedIter_(labelMax) nRelaxedIter_(labelMax)
{ {
if (nGrow_ > 0)
{
WarningIn("layerParameters::layerParameters(..)")
<< "The nGrow parameter effect has changed with respect to 1.6.x."
<< endl
<< "Please set nGrow=0 for 1.6.x behaviour."
<< endl;
}
if (dict.found("nRelaxedIter")) if (dict.found("nRelaxedIter"))
{ {
dict.lookup("nRelaxedIter") >> nRelaxedIter_; dict.lookup("nRelaxedIter") >> nRelaxedIter_;
...@@ -285,6 +294,15 @@ Foam::layerParameters::layerParameters ...@@ -285,6 +294,15 @@ Foam::layerParameters::layerParameters
nLayerIter_(readLabel(dict.lookup("nLayerIter"))), nLayerIter_(readLabel(dict.lookup("nLayerIter"))),
nRelaxedIter_(labelMax) nRelaxedIter_(labelMax)
{ {
if (nGrow_ > 0)
{
WarningIn("layerParameters::layerParameters(..)")
<< "The nGrow parameter effect has changed with respect to 1.6.x."
<< endl
<< "Please set nGrow=0 for 1.6.x behaviour."
<< endl;
}
if (dict.found("nRelaxedIter")) if (dict.found("nRelaxedIter"))
{ {
dict.lookup("nRelaxedIter") >> nRelaxedIter_; dict.lookup("nRelaxedIter") >> nRelaxedIter_;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment