67 Ostream& operator<<(Ostream&, const Field<Type>&);
70 Ostream& operator<<(Ostream&, const tmp<Field<Type>>&);
114 return NullObjectRef<Field<Type>>();
196 template<
class Type2>
284 template<
class VSForm>
302 template<
class Form,
class Cmpt, direction nCmpt>
326 friend Ostream& operator<< <Type>
329 friend Ostream& operator<< <Type>
static tmp< Field< Type > > NewCalculatedType(const Field< Type2 > &f)
Return a pointer to a new calculatedFvPatchFieldField created on.
void operator-=(const UList< Type > &)
Reference counter for various OpenFOAM components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
static const char *const typeName
void negate()
Negate this field.
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)...
pTraits< Type >::cmptType cmptType
Component type.
void size(const label)
Override size to be inconsistent with allocated storage.
Traits class for primitives.
Pre-declare related SubField type.
void replace(const direction, const UList< cmptType > &)
Replace a component field of the field.
Pre-declare SubField and related Field type.
A class for handling words, derived from string.
tmp< Field< Type > > clone() const
Clone.
VSForm block(const label start) const
void map(const UList< Type > &mapF, const labelUList &mapAddressing)
1 to 1 map from the given field
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void operator=(const Field< Type > &)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
void rmap(const UList< Type > &mapF, const labelUList &mapAddressing)
1 to 1 reverse-map from the given field
Direction is an 8-bit unsigned integer type used to represent the Cartesian directions etc...
A List with indirect addressing.
static const Field< Type > & null()
Return a null field.
tmp< Field< Type > > T() const
Return the field transpose (only defined for second rank tensors)
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
SubField< Type > subField
Declare type of subField.
void operator+=(const UList< Type > &)
A class for managing temporary objects.
void operator/=(const UList< scalar > &)
label size() const
Return the number of elements in the UList.
void reset(const Field< Type > &)
Reset the field values to the given field.
void operator*=(const UList< scalar > &)