Go to the documentation of this file.
77 const bool valueRequired
118 *(this->patchNeighbourField() - this->patchInternalField());
125 if (!this->updated())
127 this->updateCoeffs();
135 if (!this->updated())
137 this->updateCoeffs();
142 this->
patch().weights()*this->patchInternalField()
143 + (1.0 - this->
patch().weights())*this->patchNeighbourField()
199 return -this->gradientInternalCoeffs(deltaCoeffs);
208 return -this->gradientInternalCoeffs();
216 this->writeEntry(
"value",
os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
coupledFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A class for managing temporary objects.
virtual void initEvaluate(const Pstream::commsTypes commsType)
Initialise the evaluation of the patch field.
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Generic templated field type.
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void evaluate(const Pstream::commsTypes commsType)
Evaluate the patch field.
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
commsTypes
Types of communications.
const std::string patch
OpenFOAM patch number as a std::string.
Abstract base class for coupled patches.
A traits class, which is primarily used for primitives.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Foam::fvPatchFieldMapper.
const fvPatch & patch() const
Return patch.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
virtual void write(Ostream &) const
Write.
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)
String evaluation with specified (positive, non-zero) field width.