Go to the documentation of this file.
41 { limitControls::lcNone,
"none" },
42 { limitControls::lcGradient,
"gradient" },
43 { limitControls::lcZeroGradient,
"zeroGradient" },
44 { limitControls::lcAlpha,
"alpha" },
57 fixedGradientFvPatchScalarField(
p, iF),
58 limit_(lcZeroGradient)
70 fixedGradientFvPatchScalarField(
p, iF),
71 limit_(limitControlNames_.
get(
"limit",
dict))
73 if (
dict.found(
"gradient"))
76 fixedGradientFvPatchScalarField::updateCoeffs();
90 const alphaContactAngleTwoPhaseFvPatchScalarField& acpsf,
92 const DimensionedField<scalar, volMesh>& iF,
93 const fvPatchFieldMapper& mapper
96 fixedGradientFvPatchScalarField(acpsf,
p, iF, mapper),
107 fixedGradientFvPatchScalarField(acpsf),
119 fixedGradientFvPatchScalarField(acpsf, iF),
131 if (limit_ == lcGradient)
134 patch().deltaCoeffs()
138 *
this + gradient()/
patch().deltaCoeffs(),
139 scalar(1)), scalar(0)
143 else if (limit_ == lcZeroGradient)
150 if (limit_ == lcAlpha)
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void operator=(const UList< Type > &)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
label min(const labelHashSet &set, label minValue=labelMax)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
label max(const labelHashSet &set, label maxValue=labelMin)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
void operator=(const Field< Type > &)
Ostream & writeEntry(const keyType &key, const T &value)
void write(vtk::formatter &fmt, const Type &val, const label n=1)
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)