OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

fvsPatchField Class Template Reference

Inheritance diagram for fvsPatchField:

Inheritance graph
[legend]
Collaboration diagram for fvsPatchField:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class Type>
class Foam::fvsPatchField< Type >

Definition at line 82 of file fvsPatchField.H.


Public Types

typedef fvPatch Patch

Public Member Functions

 TypeName ("fvsPatchField")
 Runtime type information.
 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 > &)
 Construct from patch and internal field.
 fvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const Field< Type > &)
 Construct from patch and internal field and patch field.
 fvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 fvsPatchField (const fvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &)
 Construct by mapping the given fvsPatchField onto a new patch.
 fvsPatchField (const fvsPatchField< Type > &)
 Construct as copy.
virtual tmp< fvsPatchField<
Type > > 
clone () const
 Construct and return a clone.
 fvsPatchField (const fvsPatchField< 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 ~fvsPatchField ()
const objectRegistry & db () const
 Return local objectRegistry.
const fvPatch & patch () const
 Return patch.
const DimensionedField< Type,
surfaceMesh > & 
dimensionedInternalField () const
 Return dimensioned internal field reference.
const Field< Type > & internalField () const
 Return internal field reference.
virtual bool fixesValue () const
 Return true if this patch field fixes a value.
virtual bool coupled () const
 Return true if this patch field is coupled.
virtual void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void rmap (const fvsPatchField< Type > &, const labelList &)
 Reverse map the given fvsPatchField onto this fvsPatchField.
virtual void write (Ostream &) const
 Write.
void check (const fvsPatchField< Type > &) const
 Check fvsPatchField<Type> against given fvsPatchField<Type>.
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)
virtual void operator== (const fvsPatchField< Type > &)
virtual void operator== (const Field< Type > &)
virtual void operator== (const Type &)

Static Public Member Functions

static tmp< fvsPatchField<
Type > > 
New (const word &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
 Return a pointer to a new patchField created on freestore given.
static tmp< fvsPatchField<
Type > > 
New (const fvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &)
 Return a pointer to a new patchField created on freestore from.
static tmp< fvsPatchField<
Type > > 
New (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &)
 Return a pointer to a new patchField created on freestore.
template<class Type2>
static tmp< fvsPatchField<
Type > > 
NewCalculatedType (const fvsPatchField< Type2 > &)
 Return a pointer to a new calculatedFvsPatchField created on.
static const word & calculatedType ()
 Return the type of the calculated for of fvsPatchField.

Static Public Attributes

static int disallowDefaultFvsPatchField
 Debug switch to disallow the use of.

Friends

Ostream & operator (Ostream &, const fvsPatchField< Type > &)

Member Typedef Documentation

typedef fvPatch Patch

Definition at line 97 of file fvsPatchField.H.


Constructor & Destructor Documentation

fvsPatchField ( const fvPatch &  ,
const DimensionedField< Type, surfaceMesh > &   
)

Construct from patch and internal field.

fvsPatchField ( const fvPatch &  ,
const DimensionedField< Type, surfaceMesh > &  ,
const Field< Type > &   
)

Construct from patch and internal field and patch field.

fvsPatchField ( const fvPatch &  ,
const DimensionedField< Type, surfaceMesh > &  ,
const dictionary &   
)

Construct from patch, internal field and dictionary.

fvsPatchField ( const fvsPatchField< Type > &  ,
const fvPatch &  ,
const DimensionedField< Type, surfaceMesh > &  ,
const fvPatchFieldMapper &   
)

Construct by mapping the given fvsPatchField onto a new patch.

fvsPatchField ( const fvsPatchField< Type > &   ) 

Construct as copy.

fvsPatchField ( const fvsPatchField< Type > &  ,
const DimensionedField< Type, surfaceMesh > &   
)

Construct as copy setting internal field reference.

virtual ~fvsPatchField (  )  [inline, virtual]


Member Function Documentation

TypeName ( "fvsPatchField< Type >"   ) 

Runtime type information.

declareRunTimeSelectionTable ( tmp  ,
fvsPatchField< Type >  ,
patch  ,
(const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF)  ,
(p, iF)   
)

declareRunTimeSelectionTable ( tmp  ,
fvsPatchField< Type >  ,
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< Type >  ,
dictionary  ,
(const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF, const dictionary &dict)  ,
(p, iF, dict)   
)

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

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

static tmp<fvsPatchField<Type> > New ( const word &  ,
const fvPatch &  ,
const DimensionedField< Type, surfaceMesh > &   
) [static]

Return a pointer to a new patchField created on freestore given.

patch and internal field (does not set the patch field values)

static tmp<fvsPatchField<Type> > New ( const fvsPatchField< Type > &  ,
const fvPatch &  ,
const DimensionedField< Type, surfaceMesh > &  ,
const fvPatchFieldMapper &   
) [static]

Return a pointer to a new patchField created on freestore from.

a given fvsPatchField mapped onto a new patch

static tmp<fvsPatchField<Type> > New ( const fvPatch &  ,
const DimensionedField< Type, surfaceMesh > &  ,
const dictionary &   
) [static]

Return a pointer to a new patchField created on freestore.

from dictionary

static tmp<fvsPatchField<Type> > NewCalculatedType ( const fvsPatchField< Type2 > &   )  [static]

Return a pointer to a new calculatedFvsPatchField created on.

freestore without setting patchField values

const objectRegistry& db (  )  const

Return local objectRegistry.

const fvPatch& patch (  )  const [inline]

Return patch.

Definition at line 274 of file fvsPatchField.H.

const DimensionedField<Type, surfaceMesh>& dimensionedInternalField (  )  const [inline]

Return dimensioned internal field reference.

Definition at line 281 of file fvsPatchField.H.

const Field<Type>& internalField (  )  const [inline]

Return internal field reference.

Definition at line 287 of file fvsPatchField.H.

static const word& calculatedType (  )  [static]

Return the type of the calculated for of fvsPatchField.

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 in calculatedFvsPatchField, fixedValueFvsPatchField, and slicedFvsPatchField.

Definition at line 300 of file fvsPatchField.H.

virtual bool coupled (  )  const [inline, virtual]

Return true if this patch field is coupled.

Reimplemented in coupledFvsPatchField, and processorFvsPatchField.

Definition at line 306 of file fvsPatchField.H.

virtual void autoMap ( const fvPatchFieldMapper &   )  [virtual]

Map (and resize as needed) from self given a mapping object.

Reimplemented in emptyFvsPatchField.

virtual void rmap ( const fvsPatchField< Type > &  ,
const labelList &   
) [virtual]

Reverse map the given fvsPatchField onto this fvsPatchField.

virtual void write ( Ostream &   )  const [virtual]

void check ( const fvsPatchField< Type > &   )  const

Check fvsPatchField<Type> against given fvsPatchField<Type>.

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

Assignment from UList operator. Takes linear time.

Reimplemented from Field.

Reimplemented in fixedValueFvsPatchField, and slicedFvsPatchField.

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

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

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

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

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

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

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

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

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

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

Assignment of all entries to the given value.

Reimplemented from Field.

Reimplemented in fixedValueFvsPatchField, and slicedFvsPatchField.

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

Reimplemented from Field.

Reimplemented in fixedValueFvsPatchField, and slicedFvsPatchField.

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

Reimplemented from Field.

Reimplemented in fixedValueFvsPatchField, and slicedFvsPatchField.

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

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

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

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

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


Friends And Related Function Documentation

Ostream& operator ( Ostream &  ,
const fvsPatchField< Type > &   
) [friend]


Member Data Documentation

Debug switch to disallow the use of.

Definition at line 104 of file fvsPatchField.H.


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