Go to the documentation of this file.
37 template<
class Type,
class CombineOp>
65 Type& elem = elems[i];
72 cop(elem, elems[slavePoints[j]]);
78 elems[slavePoints[j]] = elem;
105 refCast<valuePointPatchField<Type> >(ppf) =
118 forAll(patchPatchPointConstraintPoints_, pointi)
120 pf[patchPatchPointConstraintPoints_[pointi]] =
transform
122 patchPatchPointConstraintTensors_[pointi],
123 pf[patchPatchPointConstraintPoints_[pointi]]
133 const bool overrideFixedValue
145 constrainCorners(pf);
147 if (overrideFixedValue)
void constrainCorners(GeometricField< Type, pointPatchField, pointMesh > &pf) const
Apply patch-patch constraints only.
const mapDistribute & globalCoPointSlavesMap() const
#define forAll(list, i)
Loop across all elements in list.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
tmp< Field< Type > > patchInternalField() const
Return field created from appropriate internal field values.
Variant of pointEdgePoint with some transported additional data. WIP - should be templated on data li...
Mesh consisting of general polyhedral cells.
dimensionSet transform(const dimensionSet &)
static void setPatchFields(GeometricField< Type, pointPatchField, pointMesh > &)
Helper: set patchField values from internal values (on.
Class containing processor-to-processor mapping information.
InternalField & internalField()
Return internal field.
void distribute(List< T > &fld, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Distribute data using default commsType.
Various mesh related information for a parallel run. Upon construction, constructs all info using par...
void correctBoundaryConditions()
Correct boundary field.
label constructSize() const
Constructed data size.
Foam::valuePointPatchField.
static void syncUntransformedData(const polyMesh &mesh, List< Type > &pointData, const CombineOp &cop)
Helper: sync data on collocated points only.
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.
const indirectPrimitivePatch & coupledPatch() const
Return patch of all coupled faces.
void reverseDistribute(const label constructSize, List< T > &, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Reverse distribute data using default commsType.
void constrain(GeometricField< Type, pointPatchField, pointMesh > &pf, const bool overrideValue=false) const
Apply boundary conditions (single-patch constraints) and.
void size(const label)
Override size to be inconsistent with allocated storage.
const globalMeshData & globalData() const
Return parallel info.
const labelList & meshPoints() const
Return labelList of mesh points in patch.
Generic GeometricField class.
const labelListList & globalCoPointSlaves() const
A list of faces which address into the list of points.