33 return NullObjectRef<Field<Type>>();
129 template<
int SizeMin>
148 List<Type>(tfld.constCast(), tfld.movable())
210 template<
int SizeMin>
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
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.
SubField is a Field obtained as a section of another Field, without its own allocation. SubField is derived from a SubList rather than a List.
Base for lists with indirect addressing, templated on the list contents type and the addressing type...
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
Generic templated field type.
void clear()
Clear the list, i.e. set size to zero.
tmp< Field< Type > > clone() const
Clone.
void operator=(const Field< Type > &)
Copy assignment.
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))
static const Field< Type > & null()
Return nullObject reference Field.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
constexpr Field() noexcept
Default construct.
A class for managing temporary objects.
A class representing the concept of 1 (one) that can be used to avoid manipulating objects known to b...
static constexpr const zero Zero
Global zero (0)