Commit e057421f authored by sergio's avatar sergio
Browse files

ENH: Taking out energyRegionCoupledFvPatchField.H from heThermo.C to

avoid recursive dependency with thermo and turbulence libraries
parent 0b673095
......@@ -61,8 +61,6 @@ wmake $makeType topoChangerFvMesh
wmake $makeType ODE
wmake $makeType randomProcesses
# ThermophysicalModels needs regionCoupled
wmakeLnInclude regionCoupled
thermophysicalModels/Allwmake $*
transportModels/Allwmake $*
turbulenceModels/Allwmake $*
......
......@@ -26,9 +26,10 @@ License
#include "regionCoupledLduInterface.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug(Foam::regionCoupledLduInterface, 0);
namespace Foam
{
defineTypeNameAndDebug(regionCoupledLduInterface, 0);
}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
......
......@@ -32,7 +32,6 @@ License
#include "fixedJumpAMIFvPatchFields.H"
#include "energyJumpFvPatchScalarField.H"
#include "energyJumpAMIFvPatchScalarField.H"
#include "energyRegionCoupledFvPatchScalarField.H"
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
......@@ -103,9 +102,9 @@ Foam::wordList Foam::heThermo<BasicThermo, MixtureType>::heBoundaryTypes()
{
hbt[patchi] = energyJumpAMIFvPatchScalarField::typeName;
}
else if (isA<energyRegionCoupledFvPatchScalarField>(tbf[patchi]))
else if (tbf[patchi].type() == "energyRegionCoupledFvPatchScalarField")
{
hbt[patchi] = energyRegionCoupledFvPatchScalarField::typeName;
hbt[patchi] = "energyRegionCoupledFvPatchScalarField";
}
}
......
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