FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

slicedFvsPatchField< Type > Class Template Reference

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

#include <finiteVolume/slicedFvsPatchField.H>


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

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)

Constructor & Destructor Documentation

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

Construct from patch, internal field and field to slice.

Definition at line 37 of file slicedFvsPatchField.C.

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

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

Construct from patch and internal field.

Definition at line 52 of file slicedFvsPatchField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 83 of file slicedFvsPatchField.C.

References notImplemented.

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

Construct by mapping the given slicedFvsPatchField<Type>

onto a new patch

Definition at line 63 of file slicedFvsPatchField.C.

References notImplemented.

slicedFvsPatchField ( const slicedFvsPatchField< Type > &   ptf  )

Construct as copy.

Definition at line 124 of file slicedFvsPatchField.C.

References UList< T >::operator=().

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

Construct as copy setting internal field reference.

Definition at line 101 of file slicedFvsPatchField.C.

References UList< T >::operator=().

~slicedFvsPatchField< Type > (  ) [virtual]

Definition at line 154 of file slicedFvsPatchField.C.

References UList< T >::operator=().


Member Function Documentation

TypeName ( "sliced"    )

Runtime type information.

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

Construct and return a clone.

Reimplemented from fvsPatchField< Type >.

Definition at line 113 of file slicedFvsPatchField.C.

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

Construct and return a clone setting internal field reference.

Reimplemented from fvsPatchField< Type >.

Definition at line 142 of file slicedFvsPatchField.C.

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

void write ( Ostream &   os  ) const [virtual]

Write.

Reimplemented from fvsPatchField< Type >.

Definition at line 165 of file slicedFvsPatchField.C.

References fvsPatchField< Type >::write().

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

Assignment from UList operator. Takes linear time.

Reimplemented from fvsPatchField< Type >.

Definition at line 146 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< Type > &    ) [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 fvsPatchField< scalar > &    ) [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 152 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< Type > &    ) [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 155 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 Field< scalar > &    ) [inline, virtual]

Reimplemented from fvsPatchField< Type >.

Definition at line 158 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 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 Type &    ) [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.

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

Reimplemented from fvsPatchField< Type >.

Definition at line 164 of file slicedFvsPatchField.H.


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