Public Member Functions | List of all members
slicedFvsPatchField< Type > Class Template Reference

Specialization of fvsPatchField which creates the underlying fvsPatchField as a slice of the given complete field. More...

Inheritance diagram for slicedFvsPatchField< Type >:
Inheritance graph
[legend]
Collaboration diagram for slicedFvsPatchField< Type >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("sliced")
 
 slicedFvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const Field< Type > &)
 
 slicedFvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
 
 slicedFvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &)
 
 slicedFvsPatchField (const slicedFvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &)
 
 slicedFvsPatchField (const slicedFvsPatchField< Type > &)
 
virtual tmp< fvsPatchField< Type > > clone () const
 
 slicedFvsPatchField (const slicedFvsPatchField< Type > &, const DimensionedField< Type, surfaceMesh > &)
 
virtual tmp< fvsPatchField< Type > > clone (const DimensionedField< Type, surfaceMesh > &iF) const
 
virtual ~slicedFvsPatchField ()
 
virtual bool fixesValue () const
 
virtual void operator= (const UList< Type > &)
 
virtual void operator= (const fvsPatchField< Type > &)
 
virtual void operator+= (const fvsPatchField< Type > &)
 
virtual void operator-= (const fvsPatchField< Type > &)
 
virtual void operator*= (const fvsPatchField< scalar > &)
 
virtual void operator/= (const fvsPatchField< scalar > &)
 
virtual void operator+= (const Field< Type > &)
 
virtual void operator-= (const Field< Type > &)
 
virtual void operator*= (const Field< scalar > &)
 
virtual void operator/= (const Field< scalar > &)
 
virtual void operator= (const Type &)
 
virtual void operator+= (const Type &)
 
virtual void operator-= (const Type &)
 
virtual void operator*= (const scalar)
 
virtual void operator/= (const scalar)
 
- Public Member Functions inherited from fvsPatchField< Type >
 TypeName ("fvsPatchField")
 
 declareRunTimeSelectionTable (tmp, fvsPatchField, patch,(const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF),(p, iF))
 
 declareRunTimeSelectionTable (tmp, fvsPatchField, patchMapper,(const fvsPatchField< Type > &ptf, const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF, const fvPatchFieldMapper &m),(dynamic_cast< const fvsPatchFieldType & >(ptf), p, iF, m))
 
 declareRunTimeSelectionTable (tmp, fvsPatchField, dictionary,(const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF, const dictionary &dict),(p, iF, dict))
 
 fvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
 
 fvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const Field< Type > &)
 
 fvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &)
 
 fvsPatchField (const fvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &)
 
 fvsPatchField (const fvsPatchField< Type > &)
 
 fvsPatchField (const fvsPatchField< Type > &, const DimensionedField< Type, surfaceMesh > &)
 
virtual tmp< fvsPatchField< Type > > clone () const
 
Foam::tmp< Foam::fvsPatchField< Type > > NewCalculatedType (const fvPatch &p)
 
Foam::tmp< Foam::fvsPatchField< Type > > NewCalculatedType (const fvsPatchField< Type2 > &pf)
 
virtual ~fvsPatchField ()=default
 
const objectRegistrydb () const
 
const fvPatchpatch () const
 
const DimensionedField< Type, surfaceMesh > & internalField () const
 
const Field< Type > & primitiveField () const
 
virtual bool fixesValue () const
 
virtual bool coupled () const
 
virtual void autoMap (const fvPatchFieldMapper &)
 
virtual void rmap (const fvsPatchField< Type > &, const labelList &)
 
virtual void write (Ostream &) const
 
void check (const fvsPatchField< Type > &) const
 
virtual void operator== (const fvsPatchField< Type > &)
 
virtual void operator== (const Field< Type > &)
 
virtual void operator== (const Type &)
 

Additional Inherited Members

- Public Types inherited from fvsPatchField< Type >
typedef fvPatch Patch
 
typedef calculatedFvsPatchField< Type > Calculated
 
- Static Public Member Functions inherited from fvsPatchField< Type >
static tmp< fvsPatchField< Type > > New (const word &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
 
static tmp< fvsPatchField< Type > > New (const word &, const word &actualPatchType, const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
 
static tmp< fvsPatchField< Type > > New (const fvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &)
 
static tmp< fvsPatchField< Type > > New (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &)
 
static tmp< fvsPatchField< Type > > NewCalculatedType (const fvPatch &)
 
static tmp< fvsPatchField< Type > > NewCalculatedType (const fvsPatchField< Type2 > &)
 
static const wordcalculatedType ()
 
- Static Public Attributes inherited from fvsPatchField< Type >
static int disallowGenericFvsPatchField
 

Detailed Description

template<class Type>
class Foam::slicedFvsPatchField< Type >

Specialization of fvsPatchField which creates the underlying fvsPatchField as a slice of the given complete field.

The destructor is wrapped to avoid deallocation of the storage of the complete fields when this is destroyed.

Should only used as a template argument for SlicedGeometricField.

Source files

Definition at line 53 of file slicedFvsPatchField.H.

Constructor & Destructor Documentation

◆ slicedFvsPatchField() [1/6]

slicedFvsPatchField ( const fvPatch p,
const DimensionedField< Type, surfaceMesh > &  iF,
const Field< Type > &  completeField 
)

Definition at line 27 of file slicedFvsPatchField.C.

References p.

◆ slicedFvsPatchField() [2/6]

slicedFvsPatchField ( const fvPatch p,
const DimensionedField< Type, surfaceMesh > &  iF 
)

Definition at line 42 of file slicedFvsPatchField.C.

◆ slicedFvsPatchField() [3/6]

slicedFvsPatchField ( const fvPatch p,
const DimensionedField< Type, surfaceMesh > &  iF,
const dictionary dict 
)

Definition at line 53 of file slicedFvsPatchField.C.

References NotImplemented.

◆ slicedFvsPatchField() [4/6]

slicedFvsPatchField ( const slicedFvsPatchField< Type > &  ptf,
const fvPatch p,
const DimensionedField< Type, surfaceMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Definition at line 67 of file slicedFvsPatchField.C.

References NotImplemented.

◆ slicedFvsPatchField() [5/6]

slicedFvsPatchField ( const slicedFvsPatchField< Type > &  ptf)

Definition at line 107 of file slicedFvsPatchField.C.

◆ slicedFvsPatchField() [6/6]

slicedFvsPatchField ( const slicedFvsPatchField< Type > &  ptf,
const DimensionedField< Type, surfaceMesh > &  iF 
)

Definition at line 82 of file slicedFvsPatchField.C.

◆ ~slicedFvsPatchField()

Definition at line 138 of file slicedFvsPatchField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "sliced"  )

◆ clone() [1/2]

Foam::tmp< Foam::fvsPatchField< Type > > clone
virtual

Definition at line 96 of file slicedFvsPatchField.C.

◆ clone() [2/2]

Foam::tmp< Foam::fvsPatchField< Type > > clone ( const DimensionedField< Type, surfaceMesh > &  iF) const
virtual

Reimplemented from fvsPatchField< Type >.

Definition at line 126 of file slicedFvsPatchField.C.

◆ fixesValue()

virtual bool fixesValue ( ) const
inlinevirtual

Definition at line 130 of file slicedFvsPatchField.H.

◆ operator=() [1/3]

virtual void operator= ( const UList< Type > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 138 of file slicedFvsPatchField.H.

◆ operator=() [2/3]

virtual void operator= ( const fvsPatchField< Type > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 140 of file slicedFvsPatchField.H.

◆ operator+=() [1/3]

virtual void operator+= ( const fvsPatchField< Type > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 141 of file slicedFvsPatchField.H.

◆ operator-=() [1/3]

virtual void operator-= ( const fvsPatchField< Type > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 142 of file slicedFvsPatchField.H.

◆ operator*=() [1/3]

virtual void operator*= ( const fvsPatchField< scalar > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 143 of file slicedFvsPatchField.H.

◆ operator/=() [1/3]

virtual void operator/= ( const fvsPatchField< scalar > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 144 of file slicedFvsPatchField.H.

◆ operator+=() [2/3]

virtual void operator+= ( const Field< Type > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 146 of file slicedFvsPatchField.H.

◆ operator-=() [2/3]

virtual void operator-= ( const Field< Type > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 147 of file slicedFvsPatchField.H.

◆ operator*=() [2/3]

virtual void operator*= ( const Field< scalar > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 149 of file slicedFvsPatchField.H.

◆ operator/=() [2/3]

virtual void operator/= ( const Field< scalar > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 150 of file slicedFvsPatchField.H.

◆ operator=() [3/3]

virtual void operator= ( const Type &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 152 of file slicedFvsPatchField.H.

◆ operator+=() [3/3]

virtual void operator+= ( const Type &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 153 of file slicedFvsPatchField.H.

◆ operator-=() [3/3]

virtual void operator-= ( const Type &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 154 of file slicedFvsPatchField.H.

◆ operator*=() [3/3]

virtual void operator*= ( const  scalar)
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 155 of file slicedFvsPatchField.H.

◆ operator/=() [3/3]

virtual void operator/= ( const  scalar)
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 156 of file slicedFvsPatchField.H.


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