Go to the documentation of this file.
34 const bitSet& isPatchMasterPoint,
35 const bitSet& isPatchMasterEdge,
46 meshRefinement::calculateEdgeWeights
57 Info<< typeName <<
" : Smoothing field ..." <<
endl;
59 for (label iter = 0; iter < nIter; iter++)
62 meshRefinement::weightedSum
99 Info<<
" Iteration " << iter <<
" residual " << resid <<
endl;
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
Type gAverage(const FieldField< Field, Type > &f)
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.
tmp< GeometricField< Type, faPatchField, areaMesh > > average(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Area-weighted average a edgeField creating a areaField.
messageStream Info
Information stream (stdout output on master, null elsewhere)
label nPoints() const
Number of points supporting patch faces.
void minSmoothField(const label nIter, const bitSet &isPatchMasterPoint, const bitSet &isPatchMasterEdge, const indirectPrimitivePatch &adaptPatch, const scalarField &fieldMin, Field< Type > &field) const
Smooth a scalar field towards, but not beyond, a minimum value.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const labelList & meshPoints() const
Return labelList of mesh points in patch.
A list of faces which address into the list of points.