33 if (!this->cyclicPatch().owner())
36 <<
"The jump field is not available on the neighbour patch"
52 const bool jumpRequired
80 jump_(mapper(ptf.jump_))
101 if (this->cyclicPatch().owner())
108 refCast<const fixedJumpFvPatchField<Type>>(this->nbrPatchField());
110 return nbrField.jump_;
125 refCast<const fixedJumpFvPatchField<Type>>(ptf);
126 mapper(jump_, tiptf.jump_);
139 refCast<const fixedJumpFvPatchField<Type>>(ptf);
140 jump_.
reset(tiptf.jump_);
149 if (this->cyclicPatch().owner())
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
Pre-declare SubField and related Field type.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void evaluateNoUpdateCoeffs()
Evaluate the patch field, but don't update the coeffs.
virtual void map(const fvPatchField< Type > &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
const cyclicFvPatch & cyclicPatch() const
Return local reference cast into the cyclic patch.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
This boundary condition provides a jump condition, using the cyclic condition as a base....
virtual void write(Ostream &) const
Write.
virtual void reset(const fvPatchField< Type > &)
Reset the fvPatchField to the given fvPatchField.
fixedJumpFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &, const bool jumpRequired=true)
Construct from patch, internal field and dictionary.
virtual tmp< Field< Type > > jump() const
Return the "jump".
Field< Type > & jumpRef()
Access the jump to modify it.
virtual void map(const fvPatchField< Type > &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
virtual void reset(const fvPatchField< Type > &)
Reset the fvPatchField to the given fvPatchField.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a base class for cyclic conditions with a specified "jump" (or offse...
A class for managing temporary objects.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)