OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

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 >:
Collaboration diagram for slicedFvsPatchField< Type >:

List of all members.


Public Member Functions

 TypeName ("sliced")
 Runtime type information.
 slicedFvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const Field< Type > &)
 Construct from patch, internal field and field to slice.
 slicedFvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
 Construct from patch and internal field.
 slicedFvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 slicedFvsPatchField (const slicedFvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &)
 Construct by mapping the given slicedFvsPatchField<Type>.
 slicedFvsPatchField (const slicedFvsPatchField< Type > &)
 Construct as copy.
virtual tmp< fvsPatchField
< Type > > 
clone () const
 Construct and return a clone.
 slicedFvsPatchField (const slicedFvsPatchField< Type > &, const DimensionedField< Type, surfaceMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvsPatchField
< Type > > 
clone (const DimensionedField< Type, surfaceMesh > &iF) const
 Construct and return a clone setting internal field reference.
virtual ~slicedFvsPatchField ()
virtual bool fixesValue () const
 Return true if this patch field fixes a value.
virtual void write (Ostream &) const
 Write.
virtual void operator= (const UList< Type > &)
 Assignment from UList operator. Takes linear time.
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 &)
 Assignment of all entries to the given value.
virtual void operator+= (const Type &)
virtual void operator-= (const Type &)
virtual void operator*= (const scalar)
virtual void operator/= (const scalar)

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 51 of file slicedFvsPatchField.H.


Constructor & Destructor Documentation

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

Construct from patch, internal field and field to slice.

Definition at line 29 of file slicedFvsPatchField.C.

References p.

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

Construct from patch and internal field.

Definition at line 44 of file slicedFvsPatchField.C.

References UList< T >::operator=(), and fvPatch::patchSlice().

Here is the call graph for this function:

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

Construct from patch, internal field and dictionary.

Definition at line 75 of file slicedFvsPatchField.C.

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

Construct by mapping the given slicedFvsPatchField<Type>.

onto a new patch

Definition at line 55 of file slicedFvsPatchField.C.

slicedFvsPatchField ( const slicedFvsPatchField< Type > &  ptf  )  [inline]

Construct as copy.

Definition at line 116 of file slicedFvsPatchField.C.

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

Construct as copy setting internal field reference.

Definition at line 93 of file slicedFvsPatchField.C.

~slicedFvsPatchField< Type > (  )  [inline, virtual]


Member Function Documentation

TypeName ( "sliced"   ) 

Runtime type information.

tmp< fvsPatchField< Type > > clone (  )  const [inline, virtual]

Construct and return a clone.

Reimplemented from fvsPatchField< Type >.

Definition at line 105 of file slicedFvsPatchField.C.

References slicedFvsPatchField< Type >::operator=().

Here is the call graph for this function:

tmp< fvsPatchField< Type > > clone ( const DimensionedField< Type, surfaceMesh > &  iF  )  const [inline, virtual]

Construct and return a clone setting internal field reference.

Reimplemented from fvsPatchField< Type >.

Definition at line 134 of file slicedFvsPatchField.C.

References slicedFvsPatchField< Type >::operator=().

Here is the call graph for this function:

virtual bool fixesValue (  )  const [inline, virtual]

Return true if this patch field fixes a value.

Needed to check if a level has to be specified while solving Poissons equations.

Reimplemented from fvsPatchField< Type >.

Definition at line 133 of file slicedFvsPatchField.H.

void write ( Ostream &  os  )  const [inline, virtual]

Write.

Reimplemented from fvsPatchField< Type >.

Definition at line 157 of file slicedFvsPatchField.C.

virtual void operator= ( const UList< Type > &   )  [inline, virtual]

Assignment from UList operator. Takes linear time.

Reimplemented from fvsPatchField< Type >.

Definition at line 145 of file slicedFvsPatchField.H.

Referenced by slicedFvsPatchField< Type >::clone().

Here is the caller graph for this function:

virtual void operator= ( const fvsPatchField< Type > &   )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 147 of file slicedFvsPatchField.H.

virtual void operator+= ( const fvsPatchField< Type > &   )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 148 of file slicedFvsPatchField.H.

virtual void operator-= ( const fvsPatchField< Type > &   )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 149 of file slicedFvsPatchField.H.

virtual void operator*= ( const fvsPatchField< scalar > &   )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 150 of file slicedFvsPatchField.H.

virtual void operator/= ( const fvsPatchField< scalar > &   )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 151 of file slicedFvsPatchField.H.

virtual void operator+= ( const Field< Type > &   )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 153 of file slicedFvsPatchField.H.

virtual void operator-= ( const Field< Type > &   )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 154 of file slicedFvsPatchField.H.

virtual void operator*= ( const Field< scalar > &   )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 156 of file slicedFvsPatchField.H.

virtual void operator/= ( const Field< scalar > &   )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 157 of file slicedFvsPatchField.H.

virtual void operator= ( const Type &   )  [inline, virtual]

Assignment of all entries to the given value.

Reimplemented from fvsPatchField< Type >.

Definition at line 159 of file slicedFvsPatchField.H.

virtual void operator+= ( const Type &   )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 160 of file slicedFvsPatchField.H.

virtual void operator-= ( const Type &   )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 161 of file slicedFvsPatchField.H.

virtual void operator*= ( const   scalar  )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 162 of file slicedFvsPatchField.H.

virtual void operator/= ( const   scalar  )  [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 163 of file slicedFvsPatchField.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd