48 weightFieldName_(
word::null)
71 weightFieldName_(
dict.getOrDefault<
word>(
"weightField",
word::null))
125 weightFieldName_(ptf.weightFieldName_)
137 weightFieldName_(ptf.weightFieldName_)
155 weightFieldName_(ptf.weightFieldName_)
195 this->mappedWeightField(weightFieldName_, myKDelta, nbrKDelta);
212 this->refValue() = nbrIntFld;
213 this->refGrad() =
Zero;
214 this->valueFraction() = nbrKDelta()/(nbrKDelta() + myKDelta());
220 Info<< this->patch().boundaryMesh().mesh().name() <<
':'
221 << this->patch().name() <<
':'
222 << this->internalField().name() <<
" <- "
223 << this->mapper_.sampleRegion() <<
':'
224 << this->mapper_.samplePatch() <<
':'
225 << this->fieldName_ <<
" :"
227 <<
" min:" <<
gMin(*
this)
228 <<
" max:" <<
gMax(*
this)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic templated field type.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
void size(const label n)
Older name for setAddressableSize.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition maps the value at a set of cells or patch faces back to *this.
This boundary condition maps the value at a set of cells or patch faces back to *this.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Functionality for sampling fields using mappedPatchBase. Every call to mappedField() returns a sample...
This boundary condition provides a base class for 'mixed' type boundary conditions,...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual Field< Type > & refGrad()
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual Field< Type > & refValue()
virtual scalarField & valueFraction()
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
static const word null
An empty word.
OBJstream os(runTime.globalPath()/outputName)
messageStream Info
Information stream (stdout output on master, null elsewhere)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Type gAverage(const FieldField< Field, Type > &f)
static constexpr const zero Zero
Global zero (0)
Type gMin(const FieldField< Field, Type > &f)
Type gMax(const FieldField< Field, Type > &f)