32 template<
class Type,
class CombineOp>
60 Type& elem = elems[i];
67 cop(elem, elems[slavePoints[j]]);
73 elems[slavePoints[j]] = elem;
103 refCast<valuePointPatchField<Type>>(ppf) =
116 forAll(patchPatchPointConstraintPoints_, pointi)
118 pf[patchPatchPointConstraintPoints_[pointi]] =
transform
120 patchPatchPointConstraintTensors_[pointi],
121 pf[patchPatchPointConstraintPoints_[pointi]]
131 const bool overrideFixedValue
140 syncUntransformedData
148 constrainCorners(pf);
150 if (overrideFixedValue)
#define forAll(list, i)
Loop across all elements in list.
const pointMesh & mesh() const
Internal::FieldType & primitiveFieldRef()
Return a reference to the primitive field.
void correctBoundaryConditions()
Correct boundary field.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
void size(const label)
Override size to be inconsistent with allocated storage.
const labelList & meshPoints() const
Return labelList of mesh points in patch. They are constructed.
label constructSize() const
Constructed data size.
Class containing processor-to-processor mapping information.
void distribute(List< T > &fld, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Distribute data using default commsType.
void reverseDistribute(const label constructSize, List< T > &, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Reverse distribute data using default commsType.
Various mesh related information for a parallel run. Upon construction, constructs all info using par...
const labelListList & globalCoPointSlaves() const
const distributionMap & globalCoPointSlavesMap() const
const indirectPrimitivePatch & coupledPatch() const
Return patch of all coupled faces.
void constrain(PointField< Type > &pf, const bool overrideValue=false) const
Apply boundary conditions (single-patch constraints) and.
static void syncUntransformedData(const polyMesh &mesh, List< Type > &pointData, const CombineOp &cop)
Helper: sync data on collocated points only.
static void setPatchFields(PointField< Type > &)
Helper: set patchField values from internal values (on.
void constrainCorners(PointField< Type > &pf) const
Apply patch-patch constraints only.
Variant of pointEdgePoint with some transported additional data. WIP - should be templated on data li...
const globalMeshData & globalData() const
Return parallel info.
Abstract base class for point-mesh patch fields.
tmp< Field< Type > > patchInternalField() const
Return field created from appropriate internal field values.
Mesh consisting of general polyhedral cells.
Foam::valuePointPatchField.
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.
dimensionSet transform(const dimensionSet &)