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