Generic field type. More...
Public Types | |
typedef pTraits< Type >::cmptType | cmptType |
Component type. More... | |
Public Member Functions | |
FieldField () | |
Construct null. More... | |
FieldField (const label) | |
Construct given size. More... | |
FieldField (const word &, const FieldField< Field, Type > &) | |
Construct using the Field sizes from the given FieldField. More... | |
FieldField (const FieldField< Field, Type > &) | |
Construct as copy. More... | |
FieldField (FieldField< Field, Type > &, bool reUse) | |
Construct as copy or re-use as specified. More... | |
FieldField (const PtrList< Field< Type > > &) | |
Construct as copy of a PtrList<Field, Type> More... | |
FieldField (const tmp< FieldField< Field, Type > > &) | |
Construct as copy of tmp<FieldField> More... | |
FieldField (Istream &) | |
Construct from Istream. More... | |
tmp< FieldField< Field, Type > > | clone () const |
Clone. More... | |
void | negate () |
Negate this field. More... | |
tmp< FieldField< Field, cmptType > > | component (const direction) const |
Return a component field of the field. More... | |
void | replace (const direction, const FieldField< Field, cmptType > &) |
Replace a component field of the field. More... | |
void | replace (const direction, const cmptType &) |
Replace a component field of the field. More... | |
tmp< FieldField< Field, Type > > | T () const |
Return the field transpose (only defined for second rank tensors) More... | |
void | operator= (const FieldField< Field, Type > &) |
void | operator= (const tmp< FieldField< Field, Type > > &) |
void | operator= (const Type &) |
void | operator+= (const FieldField< Field, Type > &) |
void | operator+= (const tmp< FieldField< Field, Type > > &) |
void | operator-= (const FieldField< Field, Type > &) |
void | operator-= (const tmp< FieldField< Field, Type > > &) |
void | operator*= (const FieldField< Field, scalar > &) |
void | operator*= (const tmp< FieldField< Field, scalar > > &) |
void | operator/= (const FieldField< Field, scalar > &) |
void | operator/= (const tmp< FieldField< Field, scalar > > &) |
void | operator+= (const Type &) |
void | operator-= (const Type &) |
void | operator*= (const scalar &) |
void | operator/= (const scalar &) |
Static Public Member Functions | |
template<class Type2 > | |
static tmp< FieldField< Field, Type > > | NewCalculatedType (const FieldField< Field, Type2 > &ff) |
Return a pointer to a new calculatedFvPatchFieldField created on. More... | |
Friends | |
Ostream & | operator (Ostream &, const FieldField< Field, Type > &) |
Ostream & | operator (Ostream &, const tmp< FieldField< Field, Type > > &) |
Component type.
Definition at line 82 of file FieldField.H.
FieldField | ( | ) |
Construct null.
Used for temporary fields which are initialised after construction
Definition at line 108 of file FieldField.C.
|
explicit |
Construct given size.
Used for temporary fields which are initialised after construction
FieldField | ( | const word & | , |
const FieldField< Field, Type > & | |||
) |
Construct using the Field sizes from the given FieldField.
and the given Field type. Used for temporary fields which are initialised after construction
FieldField | ( | const FieldField< Field, Type > & | ) |
Construct as copy.
FieldField | ( | FieldField< Field, Type > & | , |
bool | reUse | ||
) |
Construct as copy or re-use as specified.
FieldField | ( | const PtrList< Field< Type > > & | ) |
Construct as copy of a PtrList<Field, Type>
FieldField | ( | const tmp< FieldField< Field, Type > > & | ) |
Construct as copy of tmp<FieldField>
FieldField | ( | Istream & | ) |
Construct from Istream.
tmp< FieldField< Field, Type > > clone | ( | ) | const |
Clone.
Definition at line 184 of file FieldField.C.
|
static |
Return a pointer to a new calculatedFvPatchFieldField created on.
freestore without setting patchField values
Definition at line 193 of file FieldField.C.
Referenced by reuseTmpFieldField< Field, TypeR, Type1 >::New(), reuseTmpFieldField< Field, TypeR, TypeR >::New(), reuseTmpTmpFieldField< Field, TypeR, Type1, Type12, Type2 >::New(), reuseTmpTmpFieldField< Field, TypeR, Type1, Type12, TypeR >::New(), reuseTmpTmpFieldField< Field, TypeR, TypeR, TypeR, Type2 >::New(), and reuseTmpTmpFieldField< Field, TypeR, TypeR, TypeR, TypeR >::New().
void negate | ( | ) |
Negate this field.
Definition at line 214 of file FieldField.C.
Referenced by GaussSeidelSmoother::smooth(), symGaussSeidelSmoother::smooth(), and nonBlockingGaussSeidelSmoother::smooth().
tmp< FieldField< Field, typename FieldField< Field, Type >::cmptType > > component | ( | const direction | d | ) | const |
Return a component field of the field.
Definition at line 226 of file FieldField.C.
void replace | ( | const | direction, |
const FieldField< Field, cmptType > & | |||
) |
Replace a component field of the field.
void replace | ( | const | direction, |
const cmptType & | |||
) |
Replace a component field of the field.
tmp< FieldField< Field, Type > > T | ( | ) | const |
Return the field transpose (only defined for second rank tensors)
Definition at line 271 of file FieldField.C.
void operator= | ( | const FieldField< Field, Type > & | ) |
void operator= | ( | const tmp< FieldField< Field, Type > > & | ) |
void operator= | ( | const Type & | ) |
void operator+= | ( | const FieldField< Field, Type > & | ) |
void operator+= | ( | const tmp< FieldField< Field, Type > > & | ) |
void operator-= | ( | const FieldField< Field, Type > & | ) |
void operator-= | ( | const tmp< FieldField< Field, Type > > & | ) |
void operator*= | ( | const FieldField< Field, scalar > & | ) |
void operator*= | ( | const tmp< FieldField< Field, scalar > > & | ) |
void operator/= | ( | const FieldField< Field, scalar > & | ) |
void operator/= | ( | const tmp< FieldField< Field, scalar > > & | ) |
void operator+= | ( | const Type & | ) |
void operator-= | ( | const Type & | ) |
void operator*= | ( | const scalar & | ) |
void operator/= | ( | const scalar & | ) |
|
friend |
|
friend |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.