75 procMesh_.time().timeName(),
88 template<
class GeoField>
95 const bool existsOnProc = (particleIndices_.size() > 0);
104 template<
class GeoField>
108 const PtrList<GeoField>&
fields 111 const bool existsOnProc = (particleIndices_.size() > 0);
void decomposeFieldFields(const word &cloudName, const PtrList< GeoField > &fields) const
tmp< IOField< Type > > decomposeField(const word &cloudName, const IOField< Type > &field) const
Decompose volume field.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
Ignore writing from objectRegistry::writeObject()
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Generic templated field type.
const word cloudName(propsDict.get< word >("cloud"))
A class for handling words, derived from Foam::string.
const Time & time() const noexcept
Return time registry.
static word timeName(const scalar t, const int precision=precision_)
Return time name of given scalar time formatted with the given precision.
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 pointers to objects of type <T>, with allocation/deallocation management of the pointers...
void decomposeFields(const word &cloudName, const PtrList< GeoField > &fields) const
A Field of objects of type <T> with automated input and output using a compact storage. Behaves like IOField except when binary output in case it writes a CompactListList.
A class for managing temporary objects.
tmp< CompactIOField< Field< Type >, Type > > decomposeFieldField(const word &cloudName, const CompactIOField< Field< Type >, Type > &field) const
Defines the attributes of an object for which implicit objectRegistry management is supported...
A primitive field of type <T> with automated input and output.
Do not request registration (bool: false)
static const word prefix
The prefix to local: lagrangian.