119#ifndef functionObjects_mapFields_H
120#define functionObjects_mapFields_H
132namespace functionObjects
141 public fvMeshFunctionObject
146 autoPtr<fvMesh> mapRegionPtr_;
149 autoPtr<meshToMesh> interpPtr_;
158 void createInterpolation(
const dictionary&
dict);
162 void evaluateConstraintTypes
164 GeometricField<Type, fvPatchField, volMesh>&
fld
169 bool mapFieldType()
const;
173 bool writeFieldType()
const;
189 const dictionary&
dict
196 void operator=(
const mapFields&) =
delete;
206 virtual bool read(
const dictionary&);
212 virtual bool write();
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
Generic GeometricField class.
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.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
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...
Maps input fields from local mesh to secondary mesh at runtime.
mapFields(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
mapFields(const mapFields &)=delete
No copy construct.
void operator=(const mapFields &)=delete
No copy assignment.
virtual bool execute()
Execute, currently does nothing.
virtual bool write()
Calculate the mapFields and write.
virtual ~mapFields()=default
Destructor.
TypeName("mapFields")
Runtime type information.
virtual bool read(const dictionary &)
Read the mapFields data.
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.