106#ifndef Foam_sampledSets_H
107#define Foam_sampledSets_H
135 public functionObjects::fvMeshFunctionObject,
136 public PtrList<sampledSet>
141 enum sampleActionType :
unsigned
170 fileName outputPath_;
173 meshSearch searchEngine_;
179 wordRes fieldSelection_;
182 word samplePointScheme_;
188 dictionary writeFormatOptions_;
230 bool performAction(
unsigned request);
244 void gatherAllSets();
252 const word& fieldName
256 template<
class GeoField>
265 template<
class GeoField>
266 void performAction(
const IOobjectList& objects,
unsigned request);
298 const bool loadFromFiles =
false
310 bool verbose(
const bool on)
noexcept;
319 virtual bool write();
vtk::internalMeshWriter writer(topoMesh, topoCells, vtk::formatType::INLINE_ASCII, runTime.path()/"blockTopology")
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Generic templated field type.
Generic GeometricField class.
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
List of IOobjects with searching and retrieving facilities.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Output to file stream, using an OSstream.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Base class for writing coordSet(s) and tracks with fields.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
const word & name() const noexcept
Return the name of this functionObject.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
virtual const objectRegistry & obr() const
The region or sub-region registry being used.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Various (local, not parallel) searches on polyMesh; uses (demand driven) octree to search.
Registry of regIOobjects.
Mesh consisting of general polyhedral cells.
readUpdateState
Enumeration defining the state of the mesh after a read update.
bool verbose(const bool on) noexcept
Enable/disable verbose output.
virtual ~sampledSets()=default
Destructor.
void correct()
Correct for mesh changes.
virtual void movePoints(const polyMesh &)
Update for mesh point-motion.
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.
virtual bool execute()
Execute, currently does nothing.
virtual bool write()
Sample and write.
TypeName("sets")
Runtime type information.
virtual bool read(const dictionary &)
Read the sampledSets.
A class for managing temporary objects.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
const dictionary formatOptions(propsDict.subOrEmptyDict("formatOptions", keyType::LITERAL))