67 fixedGradientFvPatchScalarField(p, iF),
68 limit_(lcZeroGradient)
79 fixedGradientFvPatchScalarField(p, iF),
80 limit_(limitControlNames_.read(dict.
lookup(
"limit")))
82 if (dict.
found(
"gradient"))
85 fixedGradientFvPatchScalarField::updateCoeffs();
86 fixedGradientFvPatchScalarField::evaluate();
104 fixedGradientFvPatchScalarField(acpsf, p, iF, mapper),
114 fixedGradientFvPatchScalarField(acpsf),
125 fixedGradientFvPatchScalarField(acpsf, iF),
137 if (limit_ == lcGradient)
140 patch().deltaCoeffs()
144 *
this + gradient()/patch().deltaCoeffs(),
145 scalar(1)), scalar(0)
149 else if (limit_ == lcZeroGradient)
154 fixedGradientFvPatchScalarField::evaluate();
156 if (limit_ == lcAlpha)
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
commsTypes
Types of communications.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Initialise the NamedEnum HashTable from the static list of names.
Macros for easy insertion into run-time selection tables.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Foam::fvPatchFieldMapper.
virtual label size() const
Return size.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void operator=(const Field< scalar > &)
defineTypeNameAndDebug(combustionModel, 0)
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
virtual void operator=(const UList< Type > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.