Go to the documentation of this file.
92 fieldGroup(
const word& writeFormat)
106 void operator=(
const word& writeFormat)
115 class volFieldSampler
117 public List<Field<Type>>
127 const word& interpolationScheme,
157 static bool verbose_;
184 word interpolationScheme_;
192 fieldGroup<scalar> scalarFields_;
193 fieldGroup<vector> vectorFields_;
194 fieldGroup<sphericalTensor> sphericalTensorFields_;
195 fieldGroup<symmTensor> symmTensorFields_;
196 fieldGroup<tensor> tensorFields_;
208 void clearFieldGroups();
211 label classifyFields();
215 void combineSampledSets
224 void combineSampledValues
226 const PtrList<volFieldSampler<T>>& sampledFields,
228 PtrList<volFieldSampler<T>>& masterFields
236 const PtrList<volFieldSampler<Type>>& masterFields,
243 void sampleAndWrite(fieldGroup<Type>&
fields);
276 const bool loadFromFiles =
false
297 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.
Mesh consisting of general polyhedral cells.
Registry of regIOobjects.
Generic templated field type.
bool verbose(const bool on)
Enable/disable verbose output.
void clear()
Clear the addressed list, i.e. set the size to zero.
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 Time & time() const
Return time database.
const word & name() const
Return the name of this functionObject.
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.