pTraits< Field< T > > Class Template Reference
Inheritance diagram for pTraits< Field< T > >:
[legend]
Collaboration diagram for pTraits< Field< T > >:
[legend]

Public Types

typedef label cmptType
 
- Public Types inherited from Field< T >
typedef pTraits< T >::cmptType cmptType
 Component type. More...
 
typedef SubField< TsubField
 Declare type of subField. More...
 

Public Member Functions

 pTraits (Istream &is)
 
- Public Member Functions inherited from Field< T >
constexpr Field () noexcept
 Default construct. More...
 
 Field (const label len)
 Construct given size. More...
 
 Field (const label len, const T &val)
 Construct given size and initial value. More...
 
 Field (const label len, const Foam::zero)
 Construct given size and initial values of zero. More...
 
 Field (const Foam::one, const T &val)
 Construct with length=1, copying the value as the only content. More...
 
 Field (const Foam::one, T &&val)
 Construct with length=1, moving the value as the only content. More...
 
 Field (const Foam::one, const Foam::zero)
 Construct with length=1, initializing content to zero. More...
 
 Field (const Field< T > &fld)
 Copy construct. More...
 
 Field (const UList< T > &list)
 Copy construct from UList<Type> More...
 
 Field (const IndirectListBase< T, Addr > &list)
 Copy construct from IndirectList. More...
 
 Field (Field< T > &&fld)
 Move construct from Field. More...
 
 Field (List< T > &&list)
 Move construct from List. More...
 
 Field (DynamicList< T, SizeMin > &&list)
 Move construct from DynamicList. More...
 
 Field (const UList< T > &mapF, const labelUList &mapAddressing)
 Construct by 1 to 1 mapping from the given field. More...
 
 Field (const tmp< Field< T >> &tmapF, const labelUList &mapAddressing)
 Construct by 1 to 1 mapping from the given tmp field. More...
 
 Field (const UList< T > &mapF, const labelListList &mapAddressing, const scalarListList &weights)
 Construct by interpolative mapping from the given field. More...
 
 Field (const tmp< Field< T >> &tmapF, const labelListList &mapAddressing, const scalarListList &weights)
 Construct by interpolative mapping from the given tmp field. More...
 
 Field (const UList< T > &mapF, const FieldMapper &map, const bool applyFlip=true)
 Construct by mapping from the given field. More...
 
 Field (const UList< T > &mapF, const FieldMapper &map, const T &defaultValue, const bool applyFlip=true)
 Construct by mapping from the given field. More...
 
 Field (const UList< T > &mapF, const FieldMapper &map, const UList< T > &defaultValues, const bool applyFlip=true)
 Construct by mapping from the given field. More...
 
 Field (const tmp< Field< T >> &tmapF, const FieldMapper &map, const bool applyFlip=true)
 Construct by mapping from the given tmp field. More...
 
 Field (const tmp< Field< T >> &tmapF, const FieldMapper &map, const T &defaultValue, const bool applyFlip=true)
 
 Field (const tmp< Field< T >> &tmapF, const FieldMapper &map, const UList< T > &defaultValues, const bool applyFlip=true)
 
 Field (Field< T > &fld, bool reuse)
 Copy construct or re-use as specified. More...
 
 Field (const tmp< Field< T >> &tfld)
 Copy or move construct from tmp. More...
 
 Field (Istream &is)
 Construct from Istream. More...
 
 Field (const word &keyword, const dictionary &dict, const label len)
 Construct from a dictionary entry. More...
 
tmp< Field< T > > clone () const
 Clone. More...
 
void map (const UList< T > &mapF, const labelUList &mapAddressing)
 1 to 1 map from the given field More...
 
void map (const tmp< Field< T >> &tmapF, const labelUList &mapAddressing)
 1 to 1 map from the given tmp field More...
 
void map (const UList< T > &mapF, const labelListList &mapAddressing, const scalarListList &weights)
 Interpolative map from the given field. More...
 
void map (const tmp< Field< T >> &tmapF, const labelListList &mapAddressing, const scalarListList &weights)
 Interpolative map from the given tmp field. More...
 
void map (const UList< T > &mapF, const FieldMapper &map, const bool applyFlip=true)
 Map from the given field. More...
 
void map (const tmp< Field< T >> &tmapF, const FieldMapper &map, const bool applyFlip=true)
 Map from the given tmp field. More...
 
void autoMap (const FieldMapper &map, const bool applyFlip=true)
 Map from self. More...
 
void rmap (const UList< T > &mapF, const labelUList &mapAddressing)
 1 to 1 reverse-map from the given field More...
 
void rmap (const tmp< Field< T >> &tmapF, const labelUList &mapAddressing)
 1 to 1 reverse-map from the given tmp field More...
 
void rmap (const UList< T > &mapF, const labelUList &mapAddressing, const UList< scalar > &weights)
 Interpolative reverse map from the given field. More...
 
void rmap (const tmp< Field< T >> &tmapF, const labelUList &mapAddressing, const UList< scalar > &weights)
 Interpolative reverse map from the given tmp field. More...
 
void negate ()
 Negate this field (negative). More...
 
tmp< Field< cmptType > > component (const direction) const
 Return a component field of the field. More...
 
void replace (const direction, const UList< cmptType > &)
 Replace a component field of the field. More...
 
void replace (const direction, const tmp< Field< cmptType >> &)
 Replace a component field of the field. More...
 
void replace (const direction, const cmptType &)
 Replace a component field of the field. More...
 
VSForm block (const label start) const
 
tmp< Field< T > > T () const
 Return the field transpose (only defined for second rank tensors) More...
 
void writeEntry (const word &keyword, Ostream &os) const
 Write the field as a dictionary entry. More...
 
SubField< Tslice (const label pos, label len=-1)
 Return SubField slice (non-const access) - no range checking. More...
 
const SubField< Tslice (const label pos, label len=-1) const
 Return SubField slice (const access) - no range checking. More...
 
SubField< Tslice (const labelRange &range)
 Return SubField slice (non-const access) - with range checking. More...
 
const SubField< Tslice (const labelRange &range) const
 Return SubField slice (const access) - with range checking. More...
 
void operator= (const Field< T > &)
 Copy assignment. More...
 
void operator= (const tmp< Field< T >> &)
 
void operator= (const UList< T > &rhs)
 
void operator= (const SubField< T > &rhs)
 
void operator= (const IndirectListBase< T, Addr > &rhs)
 Copy assign from IndirectList. More...
 
void operator= (Field< T > &&rhs)
 Move assignment. More...
 
void operator= (List< T > &&rhs)
 
void operator= (DynamicList< T, SizeMin > &&rhs)
 
void operator= (const T &val)
 Value assignment. More...
 
void operator= (const Foam::zero)
 
void operator= (const VectorSpace< Form, Cmpt, nCmpt > &)
 
void operator= (const tmp< Field > &rhs)
 
void operator+= (const UList< T > &)
 
void operator+= (const tmp< Field< T >> &)
 
void operator+= (const T &)
 
void operator-= (const UList< T > &)
 
void operator-= (const tmp< Field< T >> &)
 
void operator-= (const T &)
 
void operator*= (const UList< scalar > &)
 
void operator*= (const tmp< Field< scalar >> &)
 
void operator*= (const scalar &)
 
void operator/= (const UList< scalar > &)
 
void operator/= (const tmp< Field< scalar >> &)
 
void operator/= (const scalar &)
 

Additional Inherited Members

- Static Public Member Functions inherited from Field< T >
static const Field< T > & null ()
 Return nullObject reference Field. More...
 
static autoPtr< Field< T > > New (Istream &is)
 Return a pointer to a new Field created on freestore. More...
 
static tmp< Field< T > > NewCalculatedType (const Field< Type2 > &f)
 

Detailed Description

template<class T>
class Foam::pTraits< Field< T > >

Definition at line 98 of file dummyTransform.H.

Member Typedef Documentation

◆ cmptType

typedef label cmptType

Definition at line 103 of file dummyTransform.H.

Constructor & Destructor Documentation

◆ pTraits()

pTraits ( Istream is)
inlineexplicit

Definition at line 105 of file dummyTransform.H.


The documentation for this class was generated from the following file: