35template<
class Type,
class FOType>
47 fo.template calcFieldType<VolFieldType>()
50 else if (foundObject<SurfaceFieldType>(
fieldNames_[0]))
55 fo.template calcFieldType<SurfaceFieldType>()
58 else if (foundObject<SurfFieldType>(
fieldNames_[0]))
63 fo.template calcFieldType<SurfFieldType>()
71template<
class Type,
class FOType>
74 return calcFieldTypes<Type>(fo);
81 bool processed =
false;
83 processed = processed || fo.template calcType<scalar>(fo);
84 processed = processed || fo.template calcType<vector>(fo);
85 processed = processed || fo.template calcType<sphericalTensor>(fo);
86 processed = processed || fo.template calcType<symmTensor>(fo);
87 processed = processed || fo.template calcType<tensor>(fo);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
wordList fieldNames_
Names of fields to process.
word resultName_
Name of result fields.
bool calcType(FOType &fo)
Call 'calcFieldTypes' for the given 'Type' and functionObject.
bool calcAllTypes(FOType &fo)
Call 'calcType' for the given functionObject.
bool calcFieldTypes(FOType &fo)
Call 'calcFieldType' for the given functionObject.
bool store(word &fieldName, const tmp< ObjectType > &tfield, bool cacheable=false)
Store the field in the (sub) objectRegistry under the given name.
Fields (face and point) for polySurface.