Go to the documentation of this file.
74 label facei = pp.
start() + i;
75 label bFacei = facei -
mesh.nInternalFaces();
117 cellCtrs[own[facei]],
131 const polyPatch& pp = pbm[patchi];
136 label facei = pp.start() + i;
147 cellCtrs[own[facei]],
156 label facei = pp.start() + i;
178 const polyMesh&
mesh,
194 const point& fc = fCtrs[facei];
195 const vector& fa = fAreas[facei];
197 scalar dOwn =
mag(fa & (fc-cellCtrs[own[facei]]));
198 scalar dNei =
mag(fa & (cellCtrs[nei[facei]]-fc));
200 weight[facei] =
min(dNei,dOwn)/(dNei+dOwn+VSMALL);
211 const polyPatch& pp = pbm[patchi];
216 label facei = pp.start() + i;
219 const point& fc = fCtrs[facei];
220 const vector& fa = fAreas[facei];
222 scalar dOwn =
mag(fa & (fc-cellCtrs[own[facei]]));
223 scalar dNei =
mag(fa & (neiCc[bFacei]-fc));
225 weight[facei] =
min(dNei,dOwn)/(dNei+dOwn+VSMALL);
236 const polyMesh&
mesh,
250 scalar volOwn = vol[own[facei]];
251 scalar volNei = vol[nei[facei]];
253 ratio[facei] =
min(volOwn,volNei)/(
max(volOwn, volNei)+VSMALL);
264 const polyPatch& pp = pbm[patchi];
269 label facei = pp.start() + i;
272 scalar volOwn = vol[own[facei]];
273 scalar volNei = neiVol[bFacei];
275 ratio[facei] =
min(volOwn,volNei)/(
max(volOwn, volNei)+VSMALL);
List< label > labelList
A List of labels.
vectorField pointField
pointField is a vectorField.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedTensor skew(const dimensionedTensor &dt)
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
A class for managing temporary objects.
virtual bool coupled() const
const polyBoundaryMesh & boundaryMesh() const
label min(const labelHashSet &set, label minValue=labelMax)
Mesh consisting of general polyhedral cells.
Field< vector > vectorField
Specialisation of Field<T> for vector.
Generic templated field type.
A patch is a list of labels that address the faces in the global face list.
virtual const labelList & faceOwner() const
label max(const labelHashSet &set, label maxValue=labelMin)
Vector< scalar > vector
A scalar version of the templated Vector.
label nInternalFaces() const noexcept
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
label nFaces() const noexcept
vector point
Point is a vector.
virtual const labelList & faceNeighbour() const