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>
237 #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 min/max value pair with additional methods. In addition to conveniently storing values...
void clamp_range(const Type &lower, const Type &upper)
Clamp field values (in-place) to the specified range.
A traits class, which is primarily used for primitives and vector-space.
string upper(const std::string &s)
Return string copy transformed with std::toupper on each character.
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 entries 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.
string lower(const std::string &s)
Return string copy transformed with std::tolower on each character.
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.
void clamp_max(const Type &upper)
Impose upper (ceiling) clamp on the field values (in-place)
A non-counting (dummy) refCount.
tmp< FieldField< Field, Type > > clone() const
Clone.
const FieldField< fvPatchField, Type > & ff(const FieldField< fvPatchField, Type > &bf)
void clamp_min(const Type &lower)
Impose lower (floor) clamp on the field values (in-place)