38 #ifndef Foam_FieldField_H 39 #define Foam_FieldField_H 55 template<
template<
class>
class Field,
class Type>
58 template<
template<
class>
class Field,
class Type>
65 template<
template<
class>
class Field,
class Type>
77 template<
template<
class>
class Field,
class Type>
128 template<class Type2>
223 #include "FieldFieldFunctions.H"
Reference counter for various OpenFOAM components.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A traits class, which is primarily used for primitives.
void normalise()
Normalise this field. See notes in Field.
A field of fields is a PtrList of fields with reference counting.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
void negate()
Negate this field. See notes in Field.
Generic templated field type.
A class for handling words, derived from Foam::string.
label size() const noexcept
The number of elements in the list.
static tmp< FieldField< Field, Type > > NewCalculatedType(const FieldField< Field, Type2 > &ff)
Return a pointer to a new calculatedFvPatchFieldField created on.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
tmp< FieldField< Field, cmptType > > component(const direction) const
Return a component field of the field.
void replace(const direction, const FieldField< Field, cmptType > &)
Replace a component field of the field.
Direction is an 8-bit unsigned integer type used to represent Cartesian directions, components etc.
pTraits< Type >::cmptType cmptType
Component type.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
constexpr FieldField() noexcept
Construct null.
tmp< FieldField< Field, Type > > T() const
Return the field transpose (only defined for second rank tensors)
friend Ostream & operator(Ostream &, const FieldField< Field, Type > &)
A class for managing temporary objects.
A non-counting (dummy) refCount.
tmp< FieldField< Field, Type > > clone() const
Clone.
const FieldField< fvPatchField, Type > & ff(const FieldField< fvPatchField, Type > &bf)