Template specialisation in wrong namespace

This commit is contained in:
Hrvoje Jasak 2010-09-29 19:59:01 +01:00
parent fd350da163
commit 26957ae93b

View file

@ -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::