Template specialisation in wrong namespace
This commit is contained in:
parent
fd350da163
commit
26957ae93b
1 changed files with 18 additions and 10 deletions
|
@ -34,25 +34,33 @@ License
|
|||
|
||||
namespace Foam
|
||||
{
|
||||
namespace compressible
|
||||
{
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
// Note: Specialisation must be in the same namespace as the template
|
||||
// HJ, 29/Sep/2010
|
||||
|
||||
template<>
|
||||
const char*
|
||||
NamedEnum<turbulentHeatFluxTemperatureFvPatchScalarField::heatSourceType, 2>::
|
||||
names[] =
|
||||
{
|
||||
"power",
|
||||
"flux"
|
||||
};
|
||||
NamedEnum<compressible::turbulentHeatFluxTemperatureFvPatchScalarField::
|
||||
heatSourceType, 2>::names[] =
|
||||
{
|
||||
"power",
|
||||
"flux"
|
||||
};
|
||||
|
||||
const
|
||||
NamedEnum<turbulentHeatFluxTemperatureFvPatchScalarField::heatSourceType, 2>
|
||||
turbulentHeatFluxTemperatureFvPatchScalarField::heatSourceTypeNames_;
|
||||
NamedEnum<compressible::turbulentHeatFluxTemperatureFvPatchScalarField::
|
||||
heatSourceType, 2>
|
||||
compressible::turbulentHeatFluxTemperatureFvPatchScalarField::
|
||||
heatSourceTypeNames_;
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
namespace compressible
|
||||
{
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
turbulentHeatFluxTemperatureFvPatchScalarField::
|
||||
|
|
Reference in a new issue