44void Foam::functionObjects::fileFieldSelection::addFromFile
46 const IOobjectList& objects,
47 DynamicList<fieldInfo>& set
50 for (
const fieldInfo& fi : *
this)
66template<
template<
class>
class PatchType,
class MeshType>
67void Foam::functionObjects::fileFieldSelection::addGeoFieldTypes
69 const IOobjectList& objects,
70 DynamicList<fieldInfo>& set
74 #define doLocalCode(DataType) \
75 addFromFile<GeometricField<DataType, PatchType, MeshType>>(objects, set);
86void Foam::functionObjects::fileFieldSelection::addInternalFieldTypes
88 const IOobjectList& objects,
89 DynamicList<fieldInfo>& set
93 #define doLocalCode(DataType) \
94 addFromFile<DimensionedField<DataType, volMesh>>(objects, set);
105void Foam::functionObjects::fileFieldSelection::addUniformFieldTypes
107 const IOobjectList& objects,
108 DynamicList<fieldInfo>& set
112 #define doLocalCode(DataType) \
113 addFromFile<UniformDimensionedField<DataType>>(objects, set);
129 const bool includeComponents
132 fieldSelection(obr, includeComponents)
148 addGeoFieldTypes<fvPatchField, volMesh>(objects, newSelection);
149 addGeoFieldTypes<fvsPatchField, surfaceMesh>(objects, newSelection);
150 addGeoFieldTypes<pointPatchField, pointMesh>(objects, newSelection);
153 addInternalFieldTypes(objects, newSelection);
156 addUniformFieldTypes(objects, newSelection);
158 selection_.transfer(newSelection);
162 return selection_ != oldSet;
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable,...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool set(const label i, bool val=true)
void size(const label n)
Older name for setAddressableSize.
virtual bool checkSelection()
Check that all requested fielda have been found.
const objectRegistry & obr_
Reference to the database.
List< fieldInfo > selection_
Current field selection.
virtual bool updateSelection()
Update the selection.
fileFieldSelection(const fileFieldSelection &)=delete
No copy construct.
Mesh data needed to do the Finite Volume discretisation.
Registry of regIOobjects.
#define doLocalCode(FieldType, Variable)
List< word > wordList
List of word.
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.