53 #ifndef cyclicACMIFvPatchField_H 54 #define cyclicACMIFvPatchField_H 94 TypeName(cyclicACMIFvPatch::typeName_());
162 return cyclicACMIPatch_;
180 if (
gMax(mask) > 1
e-5)
304 virtual int rank()
const virtual void write(Ostream &os) const
Write.
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
virtual void updateInterfaceMatrix(scalarField &result, const scalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Update result field based on interface functionality.
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual bool parallel() const
Are the cyclic planes parallel.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
void updateCoeffs()
Update the coefficients associated with the patch field.
const fvPatchField< Type > & nonOverlapPatchField() const
Return reference to non-overlapping patchField.
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual void evaluate(const Pstream::commsTypes commsType)
Evaluate the patch field.
virtual void initEvaluate(const Pstream::commsTypes commsType)
Initialise the evaluation of the patch field.
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
This boundary condition enforces a cyclic condition between a pair of boundaries, whereby communicati...
const scalarField & mask() const
Mask field where 1 = overlap, 0 = no-overlap.
Foam::fvPatchFieldMapper.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
Abstract base class for cyclic ACMI coupled interfaces.
virtual void manipulateMatrix(fvMatrix< Type > &matrix)
Manipulate matrix.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool coupled() const
Return true if coupled. Note that the underlying patch.
const double e
Elementary charge.
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
Abstract base class for coupled patches.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
virtual tmp< fvPatchField< Type > > clone() const
Construct and return a clone.
commsTypes
Types of communications.
cyclicACMIFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
Cyclic patch for Arbitrarily Coupled Mesh Interface (ACMI)
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Pre-declare SubField and related Field type.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
TypeName(cyclicACMIFvPatch::typeName_())
Runtime type information.
Traits class for primitives.
const cyclicACMIPolyPatch & cyclicACMIPatch() const
Return local reference cast into the cyclic patch.
virtual bool fixesValue() const
Return true if this patch field fixes a value.
const cyclicACMIFvPatchField< Type > & neighbourPatchField() const
Return reference to neighbour patchField.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual bool doTransform() const
Does the patch field perform the transformation.
virtual tmp< Field< Type > > patchNeighbourField() const
Return neighbour coupled internal cell data.
virtual int rank() const
Return rank of component for transform.
Type gMax(const FieldField< Field, Type > &f)
A class for managing temporary objects.
const cyclicACMIFvPatch & cyclicACMIPatch() const
Return local reference cast into the cyclic AMI patch.