mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: use typeName_() accessors for building fieldTypes
- resolves better on some compilers.
This commit is contained in:
@ -35,12 +35,12 @@ License
|
|||||||
|
|
||||||
const Foam::wordList Foam::fieldTypes::basic
|
const Foam::wordList Foam::fieldTypes::basic
|
||||||
({
|
({
|
||||||
Foam::labelIOField::typeName,
|
Foam::labelIOField::typeName_(),
|
||||||
Foam::scalarIOField::typeName,
|
Foam::scalarIOField::typeName_(),
|
||||||
Foam::vectorIOField::typeName,
|
Foam::vectorIOField::typeName_(),
|
||||||
Foam::sphericalTensorIOField::typeName,
|
Foam::sphericalTensorIOField::typeName_(),
|
||||||
Foam::symmTensorIOField::typeName,
|
Foam::symmTensorIOField::typeName_(),
|
||||||
Foam::tensorIOField::typeName
|
Foam::tensorIOField::typeName_()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -58,11 +58,11 @@ namespace Foam
|
|||||||
|
|
||||||
const Foam::wordList Foam::fieldTypes::point
|
const Foam::wordList Foam::fieldTypes::point
|
||||||
({
|
({
|
||||||
Foam::pointScalarField::typeName,
|
Foam::pointScalarField::typeName_(),
|
||||||
Foam::pointVectorField::typeName,
|
Foam::pointVectorField::typeName_(),
|
||||||
Foam::pointSphericalTensorField::typeName,
|
Foam::pointSphericalTensorField::typeName_(),
|
||||||
Foam::pointSymmTensorField::typeName,
|
Foam::pointSymmTensorField::typeName_(),
|
||||||
Foam::pointTensorField::typeName
|
Foam::pointTensorField::typeName_()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -81,11 +81,11 @@ void GeometricField<scalar, faPatchField, areaMesh>::replace
|
|||||||
|
|
||||||
const Foam::wordList Foam::fieldTypes::area
|
const Foam::wordList Foam::fieldTypes::area
|
||||||
({
|
({
|
||||||
Foam::areaScalarField::typeName,
|
Foam::areaScalarField::typeName_(),
|
||||||
Foam::areaVectorField::typeName,
|
Foam::areaVectorField::typeName_(),
|
||||||
Foam::areaSphericalTensorField::typeName,
|
Foam::areaSphericalTensorField::typeName_(),
|
||||||
Foam::areaSymmTensorField::typeName,
|
Foam::areaSymmTensorField::typeName_(),
|
||||||
Foam::areaTensorField::typeName
|
Foam::areaTensorField::typeName_()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -87,21 +87,21 @@ void GeometricField<scalar, fvPatchField, volMesh>::replace
|
|||||||
|
|
||||||
const Foam::wordList Foam::fieldTypes::internal
|
const Foam::wordList Foam::fieldTypes::internal
|
||||||
({
|
({
|
||||||
Foam::volScalarField::Internal::typeName,
|
Foam::volScalarField::Internal::typeName_(),
|
||||||
Foam::volVectorField::Internal::typeName,
|
Foam::volVectorField::Internal::typeName_(),
|
||||||
Foam::volSphericalTensorField::Internal::typeName,
|
Foam::volSphericalTensorField::Internal::typeName_(),
|
||||||
Foam::volSymmTensorField::Internal::typeName,
|
Foam::volSymmTensorField::Internal::typeName_(),
|
||||||
Foam::volTensorField::Internal::typeName
|
Foam::volTensorField::Internal::typeName_()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
const Foam::wordList Foam::fieldTypes::volume
|
const Foam::wordList Foam::fieldTypes::volume
|
||||||
({
|
({
|
||||||
Foam::volScalarField::typeName,
|
Foam::volScalarField::typeName_(),
|
||||||
Foam::volVectorField::typeName,
|
Foam::volVectorField::typeName_(),
|
||||||
Foam::volSphericalTensorField::typeName,
|
Foam::volSphericalTensorField::typeName_(),
|
||||||
Foam::volSymmTensorField::typeName,
|
Foam::volSymmTensorField::typeName_(),
|
||||||
Foam::volTensorField::typeName
|
Foam::volTensorField::typeName_()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user