111 if (!this->updated())
113 this->updateCoeffs();
121 label faceID = edgeFaces[
edgeID];
122 const_cast<Field<scalar>&
>(this->primitiveField())[faceID] =
123 pTraits<scalar>::zero;
163 return this->
patch().deltaCoeffs()*(*this);
171 this->writeEntry(
"value",
os);
commsTypes
Types of communications.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A traits class, which is primarily used for primitives.
virtual void write(Ostream &) const
Write.
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
Macros for easy insertion into run-time selection tables.
virtual void write(Ostream &) const
Write.
UList< label > labelUList
A UList of labels.
#define forAll(list, i)
Loop across all elements in list.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the evaluation of the gradient of this patchFi...
Generic templated field type.
This BC provides a clamped BC. It sets zero fixe value and zeroGradient.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
void operator=(const Field< Type > &)
Copy assignment.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the evaluation of the value of this patchFie...
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the evaluation of the gradient of this patch...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets Updated to false.
#define notImplemented(functionName)
Issue a FatalErrorIn for a function not currently implemented.
virtual void operator=(const UList< Type > &)
clampedPlateFaPatchField(const faPatch &, const DimensionedField< Type, areaMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
A class for managing temporary objects.
A FieldMapper for finite-area patch fields.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the evaluation of the value of this patchField...