33 template<
class FieldType>
36 const FieldType& field
39 word transFieldName(transformFieldName(field.name()));
58 if (mesh_.foundObject<VolFieldType>(fieldName))
62 transformField<VolFieldType>
64 mesh_.lookupObject<VolFieldType>(fieldName)
67 else if (mesh_.foundObject<SurfaceFieldType>(fieldName))
71 transformField<SurfaceFieldType>
73 mesh_.lookupObject<SurfaceFieldType>(fieldName)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic GeometricField class.
A class for handling words, derived from string.
dimensioned< tensor > dimensionedTensor
Dimensioned tensor obtained from generic dimensioned type.
#define DebugInfo
Report an information message using Foam::Info.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
dimensionSet transform(const dimensionSet &)