mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
STYLE: Refactoring use of meshState in {fv|faMesh}
{fv|fa}Mesh classes inherited the [old] data class (renamed meshState)
- meshState removed from inheritance list and added as data members
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data::add("finalIteration", true);
|
||||
mesh.data().add("finalIteration", true);
|
||||
}
|
||||
|
||||
if (frozenFlow)
|
||||
@ -35,5 +35,5 @@ else
|
||||
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data::remove("finalIteration");
|
||||
mesh.data().remove("finalIteration");
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data::add("finalIteration", true);
|
||||
mesh.data().add("finalIteration", true);
|
||||
}
|
||||
|
||||
{
|
||||
@ -35,5 +35,5 @@ if (finalIter)
|
||||
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data::remove("finalIteration");
|
||||
mesh.data().remove("finalIteration");
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data::add("finalIteration", true);
|
||||
mesh.data().add("finalIteration", true);
|
||||
}
|
||||
|
||||
if (frozenFlow)
|
||||
@ -36,5 +36,5 @@ else
|
||||
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data::remove("finalIteration");
|
||||
mesh.data().remove("finalIteration");
|
||||
}
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data::add("finalIteration", true);
|
||||
mesh.data().add("finalIteration", true);
|
||||
}
|
||||
|
||||
hEqn.solve(mesh.solver(h.select(finalIter)));
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
if (finalIter)
|
||||
{
|
||||
mesh.data::remove("finalIteration");
|
||||
mesh.data().remove("finalIteration");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user