40 jump_(this->size(),
Zero)
54 jump_(ptf.jump_, mapper)
69 if (this->cyclicAMIPatch().owner())
71 jump_.
assign(
"jump",
dict,
p.size(), IOobjectOption::MUST_READ);
74 if (!this->readValueEntry(
dict))
84 const fixedJumpAMIFvPatchField<Type>& ptf
109 if (this->cyclicAMIPatch().owner())
115 const fixedJumpAMIFvPatchField& nbrPatch =
116 refCast<const fixedJumpAMIFvPatchField<Type>>
118 this->neighbourPatchField()
121 if (this->cyclicAMIPatch().applyLowWeightCorrection())
123 return this->cyclicAMIPatch().interpolate
126 Field<Type>(this->size(),
Zero)
131 return this->cyclicAMIPatch().interpolate(nbrPatch.jump());
140 const fvPatchFieldMapper& m
158 refCast<const fixedJumpAMIFvPatchField<Type>>(ptf);
167 os.writeEntry(
"patchType", this->interfaceFieldType());
169 if (this->cyclicAMIPatch().owner())
171 jump_.writeEntry(
"jump",
os);
174 fvPatchField<Type>::writeValueEntry(
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.
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)
void assign(const entry &e, const label len)
Assign from a primitive dictionary entry with the following behaviour:
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)