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