103 public functionObjects::fvMeshFunctionObject
108 static scalar mergeTol_;
114 const bool loadFromFiles_;
120 fileName outputPath_;
126 wordRes selectAreas_;
129 wordRes fieldSelection_;
132 HashTable<const faMesh*> meshes_;
136 autoPtr<objectRegistry> surfaces_;
156 const word& fieldName
160 template<
class GeoField>
175 void operator=(
const areaWrite&) =
delete;
201 const bool loadFromFiles =
false
222 virtual bool write();
237 static scalar
mergeTol(
const scalar tol);
Forwards and collection of common area field types.
vtk::internalMeshWriter writer(topoMesh, topoCells, vtk::formatType::INLINE_ASCII, runTime.path()/"blockTopology")
Generic templated field type.
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
A HashTable similar to std::unordered_map.
List of IOobjects with searching and retrieving facilities.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Mesh data needed to do the Finite Area discretisation.
Write finite area mesh/fields to standard output formats.
bool verbose(const bool on)
Enable/disable verbose output.
virtual void movePoints(const polyMesh &mesh)
Update for mesh point-motion - expires the surfaces.
virtual bool read(const dictionary &dict)
Read the areaWrite dictionary.
TypeName("areaWrite")
Runtime type information.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh - expires the surfaces.
static scalar mergeTol()
Get merge tolerance.
virtual void readUpdate(const polyMesh::readUpdateState state)
Update for changes of mesh due to readUpdate - expires the surfaces.
virtual bool execute()
Execute, currently does nothing.
virtual bool write()
Sample and write.
virtual ~areaWrite()=default
Destructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
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.
Registry of regIOobjects.
Mesh consisting of general polyhedral cells.
readUpdateState
Enumeration defining the state of the mesh after a read update.
Base class for surface writers.
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.