Copies the boundary values from a user specified field. More...
Public Member Functions | |
TypeName ("copiedFixedValue") | |
Runtime type information. More... | |
copiedFixedValueFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
copiedFixedValueFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
copiedFixedValueFvPatchScalarField (const copiedFixedValueFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given copiedFixedValueFvPatchScalarField onto a new patch. More... | |
copiedFixedValueFvPatchScalarField (const copiedFixedValueFvPatchScalarField &) | |
Construct as copy. More... | |
copiedFixedValueFvPatchScalarField (const copiedFixedValueFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchField< scalar > > | clone () const |
Return a clone. More... | |
virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Clone with an internal field reference. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Protected Attributes | |
word | sourceFieldName_ |
Name of the source field. More... | |
Copies the boundary values from a user specified field.
<patchName> { // Mandatory entries type copiedFixedValue; sourceFieldName <word>; // Inherited entries ... }
where the entries mean:
Property | Description | Type | Reqd | Deflt |
---|---|---|---|---|
type | Type name: copiedFixedValue | word | yes | - |
sourceFieldName | Name of the source field | word | yes | - |
The inherited entries are elaborated in:
Definition at line 92 of file copiedFixedValueFvPatchScalarField.H.
copiedFixedValueFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 29 of file copiedFixedValueFvPatchScalarField.C.
copiedFixedValueFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 40 of file copiedFixedValueFvPatchScalarField.C.
copiedFixedValueFvPatchScalarField | ( | const copiedFixedValueFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given copiedFixedValueFvPatchScalarField onto a new patch.
Definition at line 52 of file copiedFixedValueFvPatchScalarField.C.
copiedFixedValueFvPatchScalarField | ( | const copiedFixedValueFvPatchScalarField & | awfpsf | ) |
Construct as copy.
Definition at line 65 of file copiedFixedValueFvPatchScalarField.C.
copiedFixedValueFvPatchScalarField | ( | const copiedFixedValueFvPatchScalarField & | awfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 75 of file copiedFixedValueFvPatchScalarField.C.
TypeName | ( | "copiedFixedValue" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Definition at line 167 of file copiedFixedValueFvPatchScalarField.H.
References fvPatchField< Type >::Clone().
|
inlinevirtual |
Clone with an internal field reference.
Definition at line 176 of file copiedFixedValueFvPatchScalarField.H.
References fvPatchField< Type >::Clone().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 88 of file copiedFixedValueFvPatchScalarField.C.
References Foam::foamVersion::patch, and copiedFixedValueFvPatchScalarField::sourceFieldName_.
|
virtual |
Write.
Definition at line 104 of file copiedFixedValueFvPatchScalarField.C.
References os(), fvPatchField< Type >::write(), Ostream::writeEntry(), and fvPatchField< Type >::writeValueEntry().
|
protected |
Name of the source field.
Definition at line 103 of file copiedFixedValueFvPatchScalarField.H.
Referenced by copiedFixedValueFvPatchScalarField::updateCoeffs().