mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +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:
@ -125,7 +125,7 @@ equationInitialResidualCondition::apply()
|
||||
}
|
||||
|
||||
const fvMesh& mesh = refCast<const fvMesh>(obr_);
|
||||
const dictionary& solverDict = mesh.solverPerformanceDict();
|
||||
const dictionary& solverDict = mesh.data().solverPerformanceDict();
|
||||
|
||||
const auto& selection = fieldSelection_.selection();
|
||||
List<scalar> result(selection.size(), -VGREAT);
|
||||
|
||||
@ -97,7 +97,7 @@ bool Foam::functionObjects::runTimeControls::equationMaxIterCondition::apply()
|
||||
}
|
||||
|
||||
const fvMesh& mesh = refCast<const fvMesh>(obr_);
|
||||
const dictionary& solverDict = mesh.solverPerformanceDict();
|
||||
const dictionary& solverDict = mesh.data().solverPerformanceDict();
|
||||
|
||||
List<label> result(fieldNames_.size(), -1);
|
||||
|
||||
|
||||
@ -79,7 +79,8 @@ void Foam::functionObjects::solverInfo::initialiseResidualField
|
||||
|
||||
if (foundObject<volFieldType>(fieldName))
|
||||
{
|
||||
const Foam::dictionary& solverDict = mesh_.solverPerformanceDict();
|
||||
const Foam::dictionary& solverDict =
|
||||
mesh_.data().solverPerformanceDict();
|
||||
|
||||
if (solverDict.found(fieldName))
|
||||
{
|
||||
@ -113,7 +114,8 @@ void Foam::functionObjects::solverInfo::updateSolverInfo(const word& fieldName)
|
||||
|
||||
if (foundObject<volFieldType>(fieldName))
|
||||
{
|
||||
const Foam::dictionary& solverDict = mesh_.solverPerformanceDict();
|
||||
const Foam::dictionary& solverDict =
|
||||
mesh_.data().solverPerformanceDict();
|
||||
|
||||
if (solverDict.found(fieldName))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user