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

directMappedFixedValueFvPatchField< Type > Class Template Reference

Recycles the value at a set of cells or patch faces back to *this. Can not sample internal faces (since volField not defined on faces). More...

#include <finiteVolume/directMappedFixedValueFvPatchField.H>


Detailed Description

template<class Type>
class Foam::directMappedFixedValueFvPatchField< Type >

Recycles the value at a set of cells or patch faces back to *this. Can not sample internal faces (since volField not defined on faces).

mode = NEARESTCELL : sample nearest cell mode = NEARESTPATCHFACE : sample nearest face on selected patch mode = NEARESTFACE : sample nearest face on any patch. Note: does not warn if nearest actually is on internal face!

Source files

Definition at line 57 of file directMappedFixedValueFvPatchField.H.

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

List of all members.

Public Member Functions

 TypeName ("directMapped")
 Runtime type information.
 directMappedFixedValueFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 Construct from patch and internal field.
 directMappedFixedValueFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 directMappedFixedValueFvPatchField (const directMappedFixedValueFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given directMappedFixedValueFvPatchField.
 directMappedFixedValueFvPatchField (const directMappedFixedValueFvPatchField< Type > &)
 Construct as copy.
virtual tmp< fvPatchField< Type > >  clone () const
 Construct and return a clone.
 directMappedFixedValueFvPatchField (const directMappedFixedValueFvPatchField< 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  updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void  write (Ostream &) const
 Write.

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 40 of file directMappedFixedValueFvPatchField.C.

directMappedFixedValueFvPatchField ( const fvPatch &   p,
const DimensionedField< Type, volMesh > &   iF,
const dictionary &   dict  
)

Construct from patch, internal field and dictionary.

Definition at line 88 of file directMappedFixedValueFvPatchField.C.

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

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

Construct by mapping given directMappedFixedValueFvPatchField.

onto a new patch

Definition at line 53 of file directMappedFixedValueFvPatchField.C.

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

Construct as copy.

Definition at line 128 of file directMappedFixedValueFvPatchField.C.

Construct as copy setting internal field reference.

Definition at line 140 of file directMappedFixedValueFvPatchField.C.


Member Function Documentation

TypeName ( "directMapped"    )

Runtime type information.

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

Construct and return a clone.

Reimplemented from fixedValueFvPatchField< Type >.

Definition at line 110 of file directMappedFixedValueFvPatchField.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 fixedValueFvPatchField< Type >.

Definition at line 127 of file directMappedFixedValueFvPatchField.H.

void write ( Ostream &   os  ) const [virtual]

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