mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: replaced fragile dict interactions by meshState functions
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data().add("finalIteration", true);
|
||||
mesh.data().setFinalIteration(true);
|
||||
}
|
||||
|
||||
if (frozenFlow)
|
||||
@ -35,5 +35,5 @@ else
|
||||
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data().remove("finalIteration");
|
||||
mesh.data().setFinalIteration(false);
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data().add("finalIteration", true);
|
||||
mesh.data().setFinalIteration(true);
|
||||
}
|
||||
|
||||
{
|
||||
@ -35,5 +35,5 @@ if (finalIter)
|
||||
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data().remove("finalIteration");
|
||||
mesh.data().setFinalIteration(false);
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data().add("finalIteration", true);
|
||||
mesh.data().setFinalIteration(true);
|
||||
}
|
||||
|
||||
if (frozenFlow)
|
||||
@ -36,5 +36,5 @@ else
|
||||
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data().remove("finalIteration");
|
||||
mesh.data().setFinalIteration(false);
|
||||
}
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data().add("finalIteration", true);
|
||||
mesh.data().setFinalIteration(true);
|
||||
}
|
||||
|
||||
hEqn.solve(mesh.solver(h.select(finalIter)));
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data().remove("finalIteration");
|
||||
mesh.data().setFinalIteration(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user