127 #ifndef functionObjects_mapFields_H 128 #define functionObjects_mapFields_H 140 namespace functionObjects
149 public fvMeshFunctionObject
154 autoPtr<fvMesh> mapRegionPtr_;
157 autoPtr<meshToMesh> interpPtr_;
166 void createInterpolation(
const dictionary&
dict);
170 void evaluateConstraintTypes
172 GeometricField<Type, fvPatchField, volMesh>&
fld 177 bool mapFieldType()
const;
181 bool writeFieldType()
const;
197 const dictionary&
dict 214 virtual bool read(
const dictionary&);
220 virtual bool write();
Forwards and collection of common volume field types.
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.