Go to the documentation of this file.
55 template<
class Type>
class Field;
56 template<
class Type>
class SubField;
98 const label startIndex
149 template<
class Form, direction Ncmpts>
void operator/=(const scalar &s)
Divide each entry by value.
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;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A class for managing temporary objects.
A List obtained as a section of another List.
SubField is a Field obtained as a section of another Field.
void operator*=(const scalar &s)
Multiply each entry by value.
Generic templated field type.
A range or interval of labels defined by a start and a size.
tmp< Field< Type > > T() const
Return the field transpose (only defined for second rank tensors)
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
void operator=(const SubField< Type > &)
Copy assign via UList operator. Takes linear time.
void operator-=(const Type &val)
Subtract value from each entry.
Traits class for primitives.
void operator+=(const Type &val)
Add value to each entry.
SubField(const SubField< Type > &sfield)
Copy construct (shallow copy)
pTraits< Type >::cmptType cmptType
Component type.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...