Go to the documentation of this file.
119 #ifndef functionObjects_mapFields_H
120 #define functionObjects_mapFields_H
132 namespace 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
206 virtual bool read(
const dictionary&);
212 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
mapFields(const word &name, const Time &runTime, const dictionary &dict)
virtual bool read(const dictionary &)
Maps input fields from local mesh to secondary mesh at runtime.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
void operator=(const mapFields &)=delete
virtual ~mapFields()=default
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() const noexcept
A List of wordRe with additional matching capabilities.
Generic GeometricField class.