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>
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!
Definition at line 57 of file directMappedFixedValueFvPatchField.H.
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.
|
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().
directMappedFixedValueFvPatchField | ( | const directMappedFixedValueFvPatchField< Type > & | ptf ) |
Construct as copy.
Definition at line 128 of file directMappedFixedValueFvPatchField.C.
directMappedFixedValueFvPatchField | ( | const directMappedFixedValueFvPatchField< Type > & | ptf, |
const DimensionedField< Type, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 140 of file directMappedFixedValueFvPatchField.C.
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 updateCoeffs | ( | ) | [virtual]
|
Update the coefficients associated with the patch field.
Reimplemented from fvPatchField< Type >.
Definition at line 154 of file directMappedFixedValueFvPatchField.C.
References Foam::abort(), polyMesh::boundaryMesh(), Pstream::defaultCommsType, mapDistribute::distribute(), Foam::endl(), Foam::FatalError, FatalErrorIn, polyBoundaryMesh::findPatchID(), forAll, Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::gSum(), Foam::Info, objectRegistry::lookupObject(), Foam::mag(), directMappedPatchBase::map(), directMappedPatchBase::mode(), directMappedPatchBase::NEARESTCELL, directMappedPatchBase::NEARESTFACE, directMappedPatchBase::NEARESTPATCHFACE, primitiveMesh::nFaces(), Foam::nl, Foam::operator==(), fvPatch::patch(), fvPatchField< Type >::patch(), directMappedPatchBase::sameRegion(), directMappedPatchBase::sampleMesh(), directMappedPatchBase::samplePatch(), directMappedPatchBase::sampleRegion(), mapDistribute::schedule(), polyPatch::start(), List< Type >::transfer(), and fvPatchField< Type >::updateCoeffs().
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from fixedValueFvPatchField< Type >.
Definition at line 318 of file directMappedFixedValueFvPatchField.C.
References token::END_STATEMENT, Foam::nl, fvPatchField< Type >::write(), and Ostream::writeKeyword().