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

genericFvPatchField< Type > Class Template Reference

Foam::genericFvPatchField. More...

#include <genericPatchFields/genericFvPatchField.H>


Detailed Description

template<class Type>
class Foam::genericFvPatchField< Type >

Foam::genericFvPatchField.

Source files

Definition at line 51 of file genericFvPatchField.H.

Inheritance diagram for genericFvPatchField< Type >:
Collaboration diagram for genericFvPatchField< Type >:

List of all members.

Public Member Functions

 TypeName ("generic")
 Runtime type information.
 genericFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 Construct from patch and internal field.
 genericFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 genericFvPatchField (const genericFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given patchField<Type> onto a new patch.
 genericFvPatchField (const genericFvPatchField< Type > &)
 Construct as copy.
virtual tmp< fvPatchField< Type > >  clone () const
 Construct and return a clone.
 genericFvPatchField (const genericFvPatchField< Type > &, const DimensionedField< Type, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< Type > >  clone (const DimensionedField< Type, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
virtual void  autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void  rmap (const fvPatchField< Type > &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField.
virtual tmp< Field< Type > >  valueInternalCoeffs (const tmp< scalarField > &) const
 Return the matrix diagonal coefficients corresponding to the.
virtual tmp< Field< Type > >  valueBoundaryCoeffs (const tmp< scalarField > &) const
 Return the matrix source coefficients corresponding to the.
tmp< Field< Type > >  gradientInternalCoeffs () const
 Return the matrix diagonal coefficients corresponding to the.
tmp< Field< Type > >  gradientBoundaryCoeffs () const
 Return the matrix source coefficients corresponding to the.
virtual void  write (Ostream &) const
 Write.

Constructor & Destructor Documentation

genericFvPatchField ( const fvPatch &   p,
const DimensionedField< Type, volMesh > &   iF  
)

Construct from patch and internal field.

Definition at line 33 of file genericFvPatchField.C.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

genericFvPatchField ( const genericFvPatchField< Type > &   ptf,
const fvPatch &   p,
const DimensionedField< Type, volMesh > &   iF,
const fvPatchFieldMapper &   mapper  
)

Construct by mapping given patchField<Type> onto a new patch.

Definition at line 452 of file genericFvPatchField.C.

References UList< Type >::begin(), and UList< Type >::end().

genericFvPatchField ( const genericFvPatchField< Type > &   ptf  )

Construct as copy.

Definition at line 530 of file genericFvPatchField.C.

genericFvPatchField ( const genericFvPatchField< Type > &   ptf,
const DimensionedField< Type, volMesh > &   iF  
)

Construct as copy setting internal field reference.

Definition at line 547 of file genericFvPatchField.C.


Member Function Documentation

TypeName ( "generic"    )

Runtime type information.

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

Construct and return a clone.

Reimplemented from calculatedFvPatchField< Type >.

Definition at line 106 of file genericFvPatchField.H.

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

Construct and return a clone setting internal field reference.

Reimplemented from calculatedFvPatchField< Type >.

Definition at line 123 of file genericFvPatchField.H.

void autoMap ( const fvPatchFieldMapper &   m  ) [virtual]

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

Reimplemented from fvPatchField< Type >.

Definition at line 567 of file genericFvPatchField.C.

References HashTable< T, Key, Hash >::begin().

void rmap ( const fvPatchField< Type > &   ptf,
const labelList &   addr  
) [virtual]
Foam::tmp< Foam::Field< Type > > valueInternalCoeffs ( const tmp< scalarField > &    ) const [virtual]

Return the matrix diagonal coefficients corresponding to the.

evaluation of the value of this patchField with given weights

Reimplemented from calculatedFvPatchField< Type >.

Definition at line 726 of file genericFvPatchField.C.

References Foam::exit(), Foam::FatalError, and FatalErrorIn.

Foam::tmp< Foam::Field< Type > > valueBoundaryCoeffs ( const tmp< scalarField > &    ) const [virtual]

Return the matrix source coefficients corresponding to the.

evaluation of the value of this patchField with given weights

Reimplemented from calculatedFvPatchField< Type >.

Definition at line 751 of file genericFvPatchField.C.

References Foam::exit(), Foam::FatalError, and FatalErrorIn.

Foam::tmp< Foam::Field< Type > > gradientInternalCoeffs (  ) const [virtual]

Return the matrix diagonal coefficients corresponding to the.

evaluation of the gradient of this patchField

Reimplemented from calculatedFvPatchField< Type >.

Definition at line 775 of file genericFvPatchField.C.

References Foam::exit(), Foam::FatalError, and FatalErrorIn.

Foam::tmp< Foam::Field< Type > > gradientBoundaryCoeffs (  ) const [virtual]

Return the matrix source coefficients corresponding to the.

evaluation of the gradient of this patchField

Reimplemented from calculatedFvPatchField< Type >.

Definition at line 796 of file genericFvPatchField.C.

References Foam::exit(), Foam::FatalError, and FatalErrorIn.

void write ( Ostream &   os  ) const [virtual]

Write.

Reimplemented from calculatedFvPatchField< Type >.

Definition at line 817 of file genericFvPatchField.C.

References Foam::nl, and Ostream::writeKeyword().


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