52 const word& fieldName,
58 scalarFields_.append(fieldName);
63 vectorFields_.append(fieldName);
68 sphericalTensorFields_.append(fieldName);
73 symmTensorFields_.append(fieldName);
78 tensorFields_.append(fieldName);
83 surfaceScalarFields_.append(fieldName);
88 surfaceVectorFields_.append(fieldName);
93 surfaceSphericalTensorFields_.append(fieldName);
98 surfaceSymmTensorFields_.append(fieldName);
103 surfaceTensorFields_.append(fieldName);
119 const word& fieldName = fields_[fieldi];
121 if (mesh_.objectRegistry::found(fieldName))
123 nFields += appendFieldGroup
126 mesh_.find(fieldName)()->type()
#define forAll(list, i)
Loop across all elements in list.
void clear()
Clear the addressed list, i.e. set the size to zero.
static const char *const typeName
fieldGroup< symmTensor > surfaceSymmTensorFields_
fieldGroup< tensor > tensorFields_
void clearFieldGroups()
Clear old field groups.
label classifyFields()
Classify field types, returns the number of fields.
fieldGroup< tensor > surfaceTensorFields_
fieldGroup< symmTensor > symmTensorFields_
fieldGroup< sphericalTensor > surfaceSphericalTensorFields_
fieldGroup< scalar > surfaceScalarFields_
Categorised scalar/vector/tensor surf fields.
fieldGroup< vector > surfaceVectorFields_
fieldGroup< scalar > scalarFields_
Categorised scalar/vector/tensor vol fields.
label appendFieldGroup(const word &fieldName, const word &fieldType)
Append fieldName to the appropriate group.
fieldGroup< sphericalTensor > sphericalTensorFields_
fieldGroup< vector > vectorFields_
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Operations on lists of strings.