31 template<
class Type,
class FOType>
42 fo.template calcFieldType<VolFieldType>()
45 else if (foundObject<SurfaceFieldType>(
fieldNames_[0]))
50 fo.template calcFieldType<SurfaceFieldType>()
60 template<
class Type,
class FOType>
63 return calcFieldTypes<Type>(fo);
67 template<
class FOType>
70 bool processed =
false;
72 processed = processed || fo.template calcType<scalar>(fo);
73 processed = processed || fo.template calcType<vector>(fo);
74 processed = processed || fo.template calcType<sphericalTensor>(fo);
75 processed = processed || fo.template calcType<symmTensor>(fo);
76 processed = processed || fo.template calcType<tensor>(fo);
bool calcAllTypes(FOType &fo)
Call 'calcType' for the given functionObject.
Generic GeometricField class.
wordList fieldNames_
Names of fields to process.
bool store(word &fieldName, const tmp< ObjectType > &tfield, bool cacheable=false)
Store the given field in the objectRegistry under the given name.
bool calcFieldTypes(FOType &fo)
Call 'calcFieldType' for the given functionObject.
word resultName_
Name of result fields.
bool calcType(FOType &fo)
Call 'calcFieldTypes' for the given 'Type' and functionObject.