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();
mapFields(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
const word & name() const noexcept
Return the name of this functionObject.
virtual bool read(const dictionary &)
Read the mapFields data.
void operator=(const mapFields &)=delete
No copy assignment.
virtual bool write()
Calculate the mapFields and write.
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))
virtual ~mapFields()=default
Destructor.
virtual bool execute()
Execute, currently does nothing.
TypeName("mapFields")
Runtime type information.