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 Foam
|
||||||
{
|
{
|
||||||
namespace compressible
|
|
||||||
{
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
// Note: Specialisation must be in the same namespace as the template
|
||||||
|
// HJ, 29/Sep/2010
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char*
|
const char*
|
||||||
NamedEnum<turbulentHeatFluxTemperatureFvPatchScalarField::heatSourceType, 2>::
|
NamedEnum<compressible::turbulentHeatFluxTemperatureFvPatchScalarField::
|
||||||
names[] =
|
heatSourceType, 2>::names[] =
|
||||||
{
|
{
|
||||||
"power",
|
"power",
|
||||||
"flux"
|
"flux"
|
||||||
};
|
};
|
||||||
|
|
||||||
const
|
const
|
||||||
NamedEnum<turbulentHeatFluxTemperatureFvPatchScalarField::heatSourceType, 2>
|
NamedEnum<compressible::turbulentHeatFluxTemperatureFvPatchScalarField::
|
||||||
turbulentHeatFluxTemperatureFvPatchScalarField::heatSourceTypeNames_;
|
heatSourceType, 2>
|
||||||
|
compressible::turbulentHeatFluxTemperatureFvPatchScalarField::
|
||||||
|
heatSourceTypeNames_;
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
namespace compressible
|
||||||
|
{
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
turbulentHeatFluxTemperatureFvPatchScalarField::
|
turbulentHeatFluxTemperatureFvPatchScalarField::
|
||||||
|
|
Reference in a new issue