Go to the documentation of this file.
44 meshRefinement::calculateEdgeWeights
55 Info<< typeName <<
" : Smoothing field ..." <<
endl;
57 for (
label iter = 0; iter < nIter; iter++)
60 meshRefinement::weightedSum
85 field[pointI] =
average[pointI];
97 Info<<
" Iteration " << iter <<
" residual " << resid <<
endl;
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
void minSmoothField(const label nIter, const PackedBoolList &isPatchMasterPoint, const PackedBoolList &isPatchMasterEdge, const indirectPrimitivePatch &adaptPatch, const scalarField &fieldMin, Field< Type > &field) const
Smooth a scalar field towards, but not beyond, a minimum value.
#define forAll(list, i)
Loop across all elements in list.
Type gAverage(const FieldField< Field, Type > &f)
Ostream & endl(Ostream &os)
Add newline and flush stream.
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.
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.
label nPoints() const
Return number of points supporting patch faces.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void size(const label)
Override size to be inconsistent with allocated storage.
const labelList & meshPoints() const
Return labelList of mesh points in patch.
A list of faces which address into the list of points.