mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Taking out energyRegionCoupledFvPatchField.H from heThermo.C to
avoid recursive dependency with thermo and turbulence libraries
This commit is contained in:
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user