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

avoid recursive dependency with thermo and turbulence libraries
This commit is contained in:
sergio
2012-12-21 14:23:50 +00:00
parent 0b6730950a
commit e057421f51
3 changed files with 6 additions and 8 deletions

View File

@ -61,8 +61,6 @@ wmake $makeType topoChangerFvMesh
wmake $makeType ODE
wmake $makeType randomProcesses
# ThermophysicalModels needs regionCoupled
wmakeLnInclude regionCoupled
thermophysicalModels/Allwmake $*
transportModels/Allwmake $*
turbulenceModels/Allwmake $*

View File

@ -26,9 +26,10 @@ License
#include "regionCoupledLduInterface.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug(Foam::regionCoupledLduInterface, 0);
namespace Foam
{
defineTypeNameAndDebug(regionCoupledLduInterface, 0);
}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //

View File

@ -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";
}
}