Go to the documentation of this file.
39 for (label faceI = 0; faceI <
mesh.nInternalFaces(); faceI++)
45 ownType == cellCellStencil::INTERPOLATED
46 && neiType == cellCellStencil::CALCULATED
53 for (label zoneI = 0; zoneI <
nZones; zoneI++)
57 const fvMesh& partMesh =
meshParts[zoneI].subMesh();
59 label cellI = partMesh.findCell(fc);
64 labelList stencil(partMesh.cellCells()[cellI]);
68 label st = stencil.size();
80 partMesh.cellCentres()[stencil[i]]
84 donorCell[faceI][i] = cellMap[stencil[i]];
86 weights /=
sum(weights);
110 ownType == cellCellStencil::CALCULATED
111 && neiType == cellCellStencil::INTERPOLATED
117 for (label zoneI = 0; zoneI <
nZones; zoneI++)
119 if (zoneI !=
zoneID[
mesh.faceNeighbour()[faceI]])
121 const fvMesh& partMesh =
meshParts[zoneI].subMesh();
123 label cellI = partMesh.findCell(fc);
128 labelList stencil(partMesh.cellCells()[cellI]);
132 label st = stencil.size();
144 partMesh.cellCentres()[stencil[i]]
148 donorCell[faceI][i] = cellMap[stencil[i]];
150 weights /=
sum(weights);
198 if (
mesh.nSolutionD() == 2)
200 for (
direction cmpt=0; cmpt<vector::nComponents; cmpt++)
202 if (
mesh.geometricD()[cmpt] == -1)
227 else if (
mesh.nSolutionD() == 3)
251 n1.x() ,n1.y(), n1.z(),
252 n2.x() ,n2.y(), n2.z()
List< label > labelList
A List of labels.
List< scalarList > scalarListList
A List of scalarList.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const labelList & cellTypes
static constexpr const zero Zero
Global zero (0)
bitSet isNeiInterpolatedFace(mesh.nInternalFaces())
void append(const T &val)
Append an element at the end of the list.
Vector< Cmpt > & normalise()
Normalise the vector by its magnitude.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
IOList< label > labelIOList
Label container classes.
labelList receptorNeigCell(mesh.nInternalFaces(), -1)
Field< vector > vectorField
Specialisation of Field<T> for vector.
PtrList< fvMeshSubset > meshParts(nZones)
bitSet isOwnerInterpolatedFace(mesh.nInternalFaces())
surfaceVectorField faceNormals(mesh.Sf()/mesh.magSf())
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
scalarListList weightCellCells(mesh.nInternalFaces())
vectorField UIntFaces(mesh.nInternalFaces(), Zero)
const labelIOList & zoneID
Vector< scalar > vector
A scalar version of the templated Vector.
PtrList< volScalarField > & Y
labelList nCellsPerZone(nZones, Zero)
VectorSpace< Form, Cmpt, Ncmpts > normalised(const VectorSpace< Form, Cmpt, Ncmpts > &vs)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
List< labelList > labelListList
A List of labelList.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
vectorField U1Contrav(mesh.nInternalFaces(), Zero)
labelListList donorCell(mesh.nInternalFaces())
const cellCellStencilObject & overlap
GeometricField< vector, fvsPatchField, surfaceMesh > surfaceVectorField
interpolationCellPoint< vector > UInterpolator(HbyA)
Tensor< scalar > tensor
Tensor of scalars, i.e. Tensor<scalar>.
Type gMax(const FieldField< Field, Type > &f)