Go to the documentation of this file.
50 if (isMasterEdge.
get(meshEdges[edgeI]) == 1)
52 const edge&
e = edges[edgeI];
61 - pts[meshPoints[
e[0]]]
64 scalar eWeight = 1.0/eMag;
74 syncTools::syncPointList
#define forAll(list, i)
Loop across all elements in list.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
dimensioned< scalar > mag(const dimensioned< Type > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > average(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Area-weighted average a surfaceField creating a volField.
Mesh consisting of general polyhedral cells.
static void averageNeighbours(const polyMesh &mesh, const PackedBoolList &isMasterEdge, const labelList &meshEdges, const labelList &meshPoints, const edgeList &edges, const scalarField &invSumWeight, const Field< Type > &data, Field< Type > &average)
Average field (over all subset of mesh points) by.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
unsigned int get(const label) const
Get value at index I.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Traits class for primitives.
const dimensionedScalar e
Elementary charge.
Database for solution data, solver performance and other reduced data.