Go to the documentation of this file.
37 #ifndef sampledSurfaces_H
38 #define sampledSurfaces_H
143 const word& fieldName,
184 const bool loadFromFiles =
false
214 void verbose(
const bool verbosity =
true);
226 virtual void write();
244 static scalar
mergeTol(
const scalar);
fileName outputPath_
Output path.
TypeName("surfaces")
Runtime type information.
autoPtr< surfaceWriter > formatter_
Surface formatter.
static scalar mergeTol_
Tolerance for merging points (fraction of mesh bounding box)
Class used for surface merging information.
A class for handling words, derived from string.
A class for handling file names.
Base class for function objects, adding functionality to read/write state information (data required ...
virtual void readUpdate(const polyMesh::readUpdateState state)
Update for changes of mesh due to readUpdate - expires the surfaces.
virtual ~sampledSurfaces()
Destructor.
const objectRegistry & obr_
Const reference to database.
virtual bool needsUpdate() const
Does any of the surfaces need an update?
word interpolationScheme_
Interpolation scheme to use.
List< mergeInfo > mergeList_
Information for merging surfaces.
static scalar mergeTol()
Get merge tolerance.
Mesh consisting of general polyhedral cells.
virtual bool update()
Update the surfaces as required and merge surface points (parallel).
sampledSurfaces(const sampledSurfaces &)
Disallow default bitwise copy construct and assignment.
Registry of regIOobjects.
void verbose(const bool verbosity=true)
Set verbosity level.
label classifyFields()
Return number of fields.
Set of surfaces to sample.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
virtual const word & name() const
Return name of the set of surfaces.
void clear()
Clear all storage.
void writeGeometry() const
Write geometry only.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
void writeSurface(const Field< Type > &values, const label surfI, const word &fieldName, const fileName &outputDir)
Write sampled fieldName on surface and on outputDir path.
A list of keyword definitions, which are a keyword followed by any number of values (e....
List of IOobjects with searching and retrieving facilities.
virtual void execute()
Execute, currently does nothing.
readUpdateState
Enumeration defining the state of the mesh after a read update.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const bool loadFromFiles_
Load fields from files (not from objectRegistry)
virtual void read(const dictionary &)
Read the sampledSurfaces dictionary.
const word name_
Name of model.
void operator=(const sampledSurfaces &)
static bool verbose_
Output verbosity.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void movePoints(const polyMesh &)
Update for mesh point-motion - expires the surfaces.
void clear()
Clear the list, i.e. set size to zero.
virtual void write()
Sample and write.
virtual void end()
Execute at the final time-loop, currently does nothing.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
void sampleAndWrite(const GeometricField< Type, fvPatchField, volMesh > &)
Sample and write a particular volume field.
Generic GeometricField class.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh - expires the surfaces.
virtual bool expire()
Mark the surfaces as needing an update.
wordReList fieldSelection_
Names of fields to sample.