40 jump_(this->size(),
Zero)
54 jump_(ptf.jump_, mapper)
69 if (this->cyclicAMIPatch().owner())
74 if (
dict.found(
"value"))
76 fvPatchField<Type>::operator=
78 Field<Type>(
"value",
dict,
p.size())
91 const fixedJumpAMIFvPatchField<Type>& ptf
116 if (this->cyclicAMIPatch().owner())
122 const fixedJumpAMIFvPatchField& nbrPatch =
123 refCast<const fixedJumpAMIFvPatchField<Type>>
125 this->neighbourPatchField()
128 if (this->cyclicAMIPatch().applyLowWeightCorrection())
130 return this->cyclicAMIPatch().interpolate
133 Field<Type>(this->size(),
Zero)
138 return this->cyclicAMIPatch().interpolate(nbrPatch.jump());
147 const fvPatchFieldMapper& m
165 refCast<const fixedJumpAMIFvPatchField<Type>>(ptf);
174 os.writeEntry(
"patchType", this->interfaceFieldType());
176 if (this->cyclicAMIPatch().owner())
178 jump_.writeEntry(
"jump",
os);
181 this->writeEntry(
"value",
os);
This boundary condition provides a base class that enforces a cyclic condition with a specified 'jump...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Generic templated field type.
Field< Type > jump_
"jump" field
A FieldMapper for finite-volume patch fields.
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
This boundary condition provides a jump condition, across non-conformal cyclic path-pairs, employing an arbitraryMeshInterface (AMI).
OBJstream os(runTime.globalPath()/outputName)
virtual tmp< Field< Type > > jump() const
Return the "jump" across the patch.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
fixedJumpAMIFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
static constexpr const zero Zero
Global zero (0)