mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: add formatting of NamedEnum template arguments
This commit is contained in:
@ -55,7 +55,11 @@ const Foam::NamedEnum<Foam::fileMonitor::fileState, 3>
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::fileMonitor::fileState, 3>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::fileMonitor::fileState,
|
||||||
|
3
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"unmodified",
|
"unmodified",
|
||||||
"modified",
|
"modified",
|
||||||
|
|||||||
@ -35,7 +35,11 @@ defineTypeNameAndDebug(Foam::UPstream, 0);
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::UPstream::commsTypes, 3>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::UPstream::commsTypes,
|
||||||
|
3
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"blocking",
|
"blocking",
|
||||||
"scheduled",
|
"scheduled",
|
||||||
|
|||||||
@ -35,7 +35,11 @@ defineTypeNameAndDebug(Foam::Time, 0);
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::Time::stopAtControls, 4>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::Time::stopAtControls,
|
||||||
|
4
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"endTime",
|
"endTime",
|
||||||
"noWriteNow",
|
"noWriteNow",
|
||||||
@ -44,7 +48,11 @@ namespace Foam
|
|||||||
};
|
};
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::Time::writeControls, 5>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::Time::writeControls,
|
||||||
|
5
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"timeStep",
|
"timeStep",
|
||||||
"runTime",
|
"runTime",
|
||||||
|
|||||||
@ -39,7 +39,11 @@ int Foam::regIOobject::fileModificationSkew
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::regIOobject::fileCheckTypes, 4>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::regIOobject::fileCheckTypes,
|
||||||
|
4
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"timeStamp",
|
"timeStamp",
|
||||||
"timeStampMaster",
|
"timeStampMaster",
|
||||||
|
|||||||
@ -44,19 +44,21 @@ namespace Foam
|
|||||||
addToRunTimeSelectionTable(polyPatch, oldCyclicPolyPatch, word);
|
addToRunTimeSelectionTable(polyPatch, oldCyclicPolyPatch, word);
|
||||||
addToRunTimeSelectionTable(polyPatch, oldCyclicPolyPatch, dictionary);
|
addToRunTimeSelectionTable(polyPatch, oldCyclicPolyPatch, dictionary);
|
||||||
|
|
||||||
|
template<>
|
||||||
template<>
|
const char* Foam::NamedEnum
|
||||||
const char* NamedEnum<oldCyclicPolyPatch::transformType, 3>::names[] =
|
<
|
||||||
{
|
Foam::oldCyclicPolyPatch::transformType,
|
||||||
|
3
|
||||||
|
>::names[] =
|
||||||
|
{
|
||||||
"unknown",
|
"unknown",
|
||||||
"rotational",
|
"rotational",
|
||||||
"translational"
|
"translational"
|
||||||
};
|
};
|
||||||
|
|
||||||
const NamedEnum<oldCyclicPolyPatch::transformType, 3>
|
|
||||||
oldCyclicPolyPatch::transformTypeNames;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const Foam::NamedEnum<Foam::oldCyclicPolyPatch::transformType, 3>
|
||||||
|
Foam::oldCyclicPolyPatch::transformTypeNames;
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|||||||
@ -32,14 +32,22 @@ Foam::scalar Foam::intersection::planarTol_ = 0.2;
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::intersection::direction, 2>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::intersection::direction,
|
||||||
|
2
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"vector",
|
"vector",
|
||||||
"contactSphere"
|
"contactSphere"
|
||||||
};
|
};
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::intersection::algorithm, 3>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::intersection::algorithm,
|
||||||
|
3
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"fullRay",
|
"fullRay",
|
||||||
"halfRay",
|
"halfRay",
|
||||||
|
|||||||
@ -39,7 +39,11 @@ License
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::directions::directionType, 3>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::directions::directionType,
|
||||||
|
3
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"tan1",
|
"tan1",
|
||||||
"tan2",
|
"tan2",
|
||||||
@ -269,7 +273,6 @@ Foam::vectorField Foam::directions::propagateDirection
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Construct from dictionary
|
|
||||||
Foam::directions::directions
|
Foam::directions::directions
|
||||||
(
|
(
|
||||||
const polyMesh& mesh,
|
const polyMesh& mesh,
|
||||||
@ -353,7 +356,7 @@ Foam::directions::directions
|
|||||||
FatalErrorIn
|
FatalErrorIn
|
||||||
(
|
(
|
||||||
"directions::directions(const polyMesh&, const dictionary&,"
|
"directions::directions(const polyMesh&, const dictionary&,"
|
||||||
"const twoDPointCorrector*"
|
"const twoDPointCorrector*)"
|
||||||
) << "Cannot find patch "
|
) << "Cannot find patch "
|
||||||
<< patchName
|
<< patchName
|
||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
@ -373,7 +376,7 @@ Foam::directions::directions
|
|||||||
WarningIn
|
WarningIn
|
||||||
(
|
(
|
||||||
"directions::directions(const polyMesh&, const dictionary&,"
|
"directions::directions(const polyMesh&, const dictionary&,"
|
||||||
"const twoDPointCorrector*"
|
"const twoDPointCorrector*)"
|
||||||
) << "Discarding user specified tan1 since 2D case." << endl
|
) << "Discarding user specified tan1 since 2D case." << endl
|
||||||
<< "Recalculated tan1 from face normal and planeNormal as "
|
<< "Recalculated tan1 from face normal and planeNormal as "
|
||||||
<< tan1 << endl << endl;
|
<< tan1 << endl << endl;
|
||||||
@ -441,7 +444,7 @@ Foam::directions::directions
|
|||||||
FatalErrorIn
|
FatalErrorIn
|
||||||
(
|
(
|
||||||
"directions::directions(const polyMesh&, const dictionary&,"
|
"directions::directions(const polyMesh&, const dictionary&,"
|
||||||
"const twoDPointCorrector*"
|
"const twoDPointCorrector*)"
|
||||||
) << "Unknown coordinate system "
|
) << "Unknown coordinate system "
|
||||||
<< coordSystem << endl
|
<< coordSystem << endl
|
||||||
<< "Known types are global and patchLocal"
|
<< "Known types are global and patchLocal"
|
||||||
|
|||||||
@ -30,7 +30,11 @@ License
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::phaseProperties::phaseType, 4>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::phaseProperties::phaseType,
|
||||||
|
4
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"gas",
|
"gas",
|
||||||
"liquid",
|
"liquid",
|
||||||
|
|||||||
@ -37,8 +37,11 @@ License
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
const char*
|
const char* Foam::NamedEnum
|
||||||
Foam::NamedEnum<Foam::refinementSurfaces::areaSelectionAlgo, 4>::names[] =
|
<
|
||||||
|
Foam::refinementSurfaces::areaSelectionAlgo,
|
||||||
|
4
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"inside",
|
"inside",
|
||||||
"outside",
|
"outside",
|
||||||
|
|||||||
@ -43,7 +43,11 @@ namespace Foam
|
|||||||
defineTypeNameAndDebug(directMappedPatchBase, 0);
|
defineTypeNameAndDebug(directMappedPatchBase, 0);
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* NamedEnum<directMappedPatchBase::sampleMode, 3>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::directMappedPatchBase::sampleMode,
|
||||||
|
3
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"nearestCell",
|
"nearestCell",
|
||||||
"nearestPatchFace",
|
"nearestPatchFace",
|
||||||
@ -55,7 +59,11 @@ namespace Foam
|
|||||||
|
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* NamedEnum<directMappedPatchBase::offsetMode, 3>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::directMappedPatchBase::offsetMode,
|
||||||
|
3
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"uniform",
|
"uniform",
|
||||||
"nonuniform",
|
"nonuniform",
|
||||||
@ -74,7 +82,6 @@ namespace Foam
|
|||||||
|
|
||||||
class nearestEqOp
|
class nearestEqOp
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
void operator()(nearInfo& x, const nearInfo& y) const
|
void operator()(nearInfo& x, const nearInfo& y) const
|
||||||
@ -95,6 +102,13 @@ namespace Foam
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const Foam::NamedEnum<Foam::directMappedPatchBase::sampleMode, 3>
|
||||||
|
Foam::directMappedPatchBase::sampleModeNames_;
|
||||||
|
|
||||||
|
const Foam::NamedEnum<Foam::directMappedPatchBase::offsetMode, 3>
|
||||||
|
Foam::directMappedPatchBase::offsetModeNames_;
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::directMappedPatchBase::collectSamples
|
void Foam::directMappedPatchBase::collectSamples
|
||||||
|
|||||||
@ -38,7 +38,11 @@ namespace Foam
|
|||||||
addToRunTimeSelectionTable(topoSetSource, faceToCell, istream);
|
addToRunTimeSelectionTable(topoSetSource, faceToCell, istream);
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::faceToCell::faceAction, 4>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::faceToCell::faceAction,
|
||||||
|
4
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"neighbour",
|
"neighbour",
|
||||||
"owner",
|
"owner",
|
||||||
|
|||||||
@ -37,7 +37,11 @@ namespace Foam
|
|||||||
addToRunTimeSelectionTable(topoSetSource, faceZoneToCell, istream);
|
addToRunTimeSelectionTable(topoSetSource, faceZoneToCell, istream);
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::faceZoneToCell::faceAction, 2>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::faceZoneToCell::faceAction,
|
||||||
|
2
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"master",
|
"master",
|
||||||
"slave"
|
"slave"
|
||||||
|
|||||||
@ -38,7 +38,11 @@ namespace Foam
|
|||||||
addToRunTimeSelectionTable(topoSetSource, pointToCell, istream);
|
addToRunTimeSelectionTable(topoSetSource, pointToCell, istream);
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::pointToCell::pointAction, 1>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::pointToCell::pointAction,
|
||||||
|
1
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"any"
|
"any"
|
||||||
};
|
};
|
||||||
|
|||||||
@ -39,7 +39,11 @@ namespace Foam
|
|||||||
addToRunTimeSelectionTable(topoSetSource, cellToFace, istream);
|
addToRunTimeSelectionTable(topoSetSource, cellToFace, istream);
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::cellToFace::cellAction, 2>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::cellToFace::cellAction,
|
||||||
|
2
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"all",
|
"all",
|
||||||
"both"
|
"both"
|
||||||
|
|||||||
@ -38,7 +38,11 @@ namespace Foam
|
|||||||
addToRunTimeSelectionTable(topoSetSource, pointToFace, istream);
|
addToRunTimeSelectionTable(topoSetSource, pointToFace, istream);
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::pointToFace::pointAction, 2>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::pointToFace::pointAction,
|
||||||
|
2
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"any",
|
"any",
|
||||||
"all"
|
"all"
|
||||||
|
|||||||
@ -38,7 +38,11 @@ namespace Foam
|
|||||||
addToRunTimeSelectionTable(topoSetSource, cellToPoint, istream);
|
addToRunTimeSelectionTable(topoSetSource, cellToPoint, istream);
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::cellToPoint::cellAction, 1>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::cellToPoint::cellAction,
|
||||||
|
1
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"all"
|
"all"
|
||||||
};
|
};
|
||||||
|
|||||||
@ -38,7 +38,11 @@ namespace Foam
|
|||||||
addToRunTimeSelectionTable(topoSetSource, faceToPoint, istream);
|
addToRunTimeSelectionTable(topoSetSource, faceToPoint, istream);
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::faceToPoint::faceAction, 1>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::faceToPoint::faceAction,
|
||||||
|
1
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"all"
|
"all"
|
||||||
};
|
};
|
||||||
|
|||||||
@ -36,7 +36,11 @@ namespace Foam
|
|||||||
defineRunTimeSelectionTable(topoSetSource, istream);
|
defineRunTimeSelectionTable(topoSetSource, istream);
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::topoSetSource::setAction, 8>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::topoSetSource::setAction,
|
||||||
|
8
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"clear",
|
"clear",
|
||||||
"new",
|
"new",
|
||||||
|
|||||||
@ -30,7 +30,11 @@ License
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::fieldAverageItem::baseType, 2>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::fieldAverageItem::baseType,
|
||||||
|
2
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"iteration",
|
"iteration",
|
||||||
"time"
|
"time"
|
||||||
|
|||||||
@ -36,7 +36,11 @@ defineTypeNameAndDebug(Foam::fieldMinMax, 0);
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::fieldMinMax::modeType, 2>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::fieldMinMax::modeType,
|
||||||
|
2
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"magnitude",
|
"magnitude",
|
||||||
"component"
|
"component"
|
||||||
|
|||||||
@ -31,21 +31,42 @@ License
|
|||||||
|
|
||||||
defineTypeNameAndDebug(Foam::fieldValues::cellSource, 0);
|
defineTypeNameAndDebug(Foam::fieldValues::cellSource, 0);
|
||||||
|
|
||||||
template<>
|
namespace Foam
|
||||||
const char* Foam::NamedEnum<Foam::fieldValues::cellSource::sourceType, 2>::
|
{
|
||||||
names[] = {"cellZone", "all"};
|
|
||||||
|
template<>
|
||||||
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::fieldValues::cellSource::sourceType,
|
||||||
|
2
|
||||||
|
>::names[] =
|
||||||
|
{
|
||||||
|
"cellZone",
|
||||||
|
"all"
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
template<>
|
||||||
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::fieldValues::cellSource::operationType,
|
||||||
|
7
|
||||||
|
>::names[] =
|
||||||
|
{
|
||||||
|
"none",
|
||||||
|
"sum",
|
||||||
|
"volAverage",
|
||||||
|
"volIntegrate",
|
||||||
|
"weightedAverage",
|
||||||
|
"min",
|
||||||
|
"max"
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
const Foam::NamedEnum<Foam::fieldValues::cellSource::sourceType, 2>
|
const Foam::NamedEnum<Foam::fieldValues::cellSource::sourceType, 2>
|
||||||
Foam::fieldValues::cellSource::sourceTypeNames_;
|
Foam::fieldValues::cellSource::sourceTypeNames_;
|
||||||
|
|
||||||
template<>
|
|
||||||
const char* Foam::NamedEnum<Foam::fieldValues::cellSource::operationType, 7>::
|
|
||||||
names[] =
|
|
||||||
{
|
|
||||||
"none", "sum", "volAverage",
|
|
||||||
"volIntegrate", "weightedAverage", "min", "max"
|
|
||||||
};
|
|
||||||
|
|
||||||
const Foam::NamedEnum<Foam::fieldValues::cellSource::operationType, 7>
|
const Foam::NamedEnum<Foam::fieldValues::cellSource::operationType, 7>
|
||||||
Foam::fieldValues::cellSource::operationTypeNames_;
|
Foam::fieldValues::cellSource::operationTypeNames_;
|
||||||
|
|
||||||
|
|||||||
@ -34,25 +34,43 @@ License
|
|||||||
|
|
||||||
defineTypeNameAndDebug(Foam::fieldValues::faceSource, 0);
|
defineTypeNameAndDebug(Foam::fieldValues::faceSource, 0);
|
||||||
|
|
||||||
template<>
|
namespace Foam
|
||||||
const char* Foam::NamedEnum<Foam::fieldValues::faceSource::sourceType, 3>::
|
|
||||||
names[] =
|
|
||||||
{
|
{
|
||||||
"faceZone", "patch", "sampledSurface"
|
template<>
|
||||||
};
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::fieldValues::faceSource::sourceType,
|
||||||
|
3
|
||||||
|
>::names[] =
|
||||||
|
{
|
||||||
|
"faceZone",
|
||||||
|
"patch",
|
||||||
|
"sampledSurface"
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
template<>
|
||||||
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::fieldValues::faceSource::operationType,
|
||||||
|
7
|
||||||
|
>::names[] =
|
||||||
|
{
|
||||||
|
"none",
|
||||||
|
"sum",
|
||||||
|
"areaAverage",
|
||||||
|
"areaIntegrate",
|
||||||
|
"weightedAverage",
|
||||||
|
"min",
|
||||||
|
"max"
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
const Foam::NamedEnum<Foam::fieldValues::faceSource::sourceType, 3>
|
const Foam::NamedEnum<Foam::fieldValues::faceSource::sourceType, 3>
|
||||||
Foam::fieldValues::faceSource::sourceTypeNames_;
|
Foam::fieldValues::faceSource::sourceTypeNames_;
|
||||||
|
|
||||||
|
|
||||||
template<>
|
|
||||||
const char* Foam::NamedEnum<Foam::fieldValues::faceSource::operationType, 7>::
|
|
||||||
names[] =
|
|
||||||
{
|
|
||||||
"none", "sum", "areaAverage",
|
|
||||||
"areaIntegrate", "weightedAverage", "min", "max"
|
|
||||||
};
|
|
||||||
|
|
||||||
const Foam::NamedEnum<Foam::fieldValues::faceSource::operationType, 7>
|
const Foam::NamedEnum<Foam::fieldValues::faceSource::operationType, 7>
|
||||||
Foam::fieldValues::faceSource::operationTypeNames_;
|
Foam::fieldValues::faceSource::operationTypeNames_;
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,11 @@ License
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum<Foam::coordSet::coordFormat, 5>::names[] =
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::coordSet::coordFormat,
|
||||||
|
5
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"xyz",
|
"xyz",
|
||||||
"x",
|
"x",
|
||||||
|
|||||||
@ -37,18 +37,19 @@ namespace Foam
|
|||||||
defineTypeNameAndDebug(surfaceFilmModel, 0);
|
defineTypeNameAndDebug(surfaceFilmModel, 0);
|
||||||
defineRunTimeSelectionTable(surfaceFilmModel, mesh);
|
defineRunTimeSelectionTable(surfaceFilmModel, mesh);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
template<>
|
||||||
template<>
|
const char* Foam::NamedEnum
|
||||||
const char*
|
<
|
||||||
Foam::NamedEnum<Foam::surfaceFilmModels::surfaceFilmModel::thermoModelType, 2>::
|
Foam::surfaceFilmModels::surfaceFilmModel::thermoModelType,
|
||||||
names[] =
|
2
|
||||||
{
|
>::names[] =
|
||||||
|
{
|
||||||
"constant",
|
"constant",
|
||||||
"singleComponent"
|
"singleComponent"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
const
|
const
|
||||||
Foam::NamedEnum<Foam::surfaceFilmModels::surfaceFilmModel::thermoModelType, 2>
|
Foam::NamedEnum<Foam::surfaceFilmModels::surfaceFilmModel::thermoModelType, 2>
|
||||||
|
|||||||
@ -31,15 +31,21 @@ License
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * Static Member Data * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Static Member Data * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<>
|
namespace Foam
|
||||||
const char* Foam::NamedEnum<Foam::temperatureCoupledBase::KMethodType, 4>::
|
|
||||||
names[] =
|
|
||||||
{
|
{
|
||||||
|
template<>
|
||||||
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::temperatureCoupledBase::KMethodType,
|
||||||
|
4
|
||||||
|
>::names[] =
|
||||||
|
{
|
||||||
"basicThermo",
|
"basicThermo",
|
||||||
"solidThermo",
|
"solidThermo",
|
||||||
"directionalSolidThermo",
|
"directionalSolidThermo",
|
||||||
"lookup"
|
"lookup"
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
const Foam::NamedEnum<Foam::temperatureCoupledBase::KMethodType, 4>
|
const Foam::NamedEnum<Foam::temperatureCoupledBase::KMethodType, 4>
|
||||||
|
|||||||
Reference in New Issue
Block a user