Go to the documentation of this file.
85 fieldGroup() =
default;
103 class volFieldSampler
105 public List<Field<Type>>
115 const word& interpolationScheme,
145 static bool verbose_;
172 word interpolationScheme_;
183 fieldGroup<scalar> scalarFields_;
184 fieldGroup<vector> vectorFields_;
185 fieldGroup<sphericalTensor> sphericalTensorFields_;
186 fieldGroup<symmTensor> symmTensorFields_;
187 fieldGroup<tensor> tensorFields_;
199 void clearFieldGroups();
202 label classifyFields();
206 void combineSampledSets
215 void combineSampledValues
217 const PtrList<volFieldSampler<T>>& sampledFields,
219 PtrList<volFieldSampler<T>>& masterFields
227 const PtrList<volFieldSampler<Type>>& masterFields,
234 void sampleAndWrite(fieldGroup<Type>&
fields);
267 const bool loadFromFiles =
false
288 virtual bool write();
virtual void readUpdate(const polyMesh::readUpdateState state)
Update for changes of mesh due to readUpdate.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
Various (local, not parallel) searches on polyMesh; uses (demand driven) octree to search.
A class for handling file names.
Set of sets to sample. Call sampledSets.write() to sample and write files.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
virtual bool write()
Sample and write.
void clear() noexcept
Clear the addressed list, i.e. set the size to zero.
Mesh consisting of general polyhedral cells.
Registry of regIOobjects.
Generic templated field type.
bool verbose(const bool on)
Enable/disable verbose output.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~sampledSets()=default
Destructor.
Base class for graphics format writing. Entry points are.
Holds list of sampling positions.
void clear()
Clear the PtrList. Delete allocated entries and set size to zero.
Mesh data needed to do the Finite Volume discretisation.
void correct()
Correct for mesh changes.
readUpdateState
Enumeration defining the state of the mesh after a read update.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual bool execute()
Execute, currently does nothing.
const word & name() const noexcept
Return the name of this functionObject.
const Time & time() const
Return time database.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
TypeName("sets")
Runtime type information.
A List of wordRe with additional matching capabilities.
virtual void movePoints(const polyMesh &)
Update for mesh point-motion.
void clear() noexcept
Same as reset(nullptr)
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Specialization of Foam::functionObject for a region and providing a reference to the region Foam::obj...
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
virtual bool read(const dictionary &)
Read the sampledSets.
static autoPtr< writer > New(const word &writeFormat)
Return a reference to the selected writer.