Go to the documentation of this file.
34 const bitSet& isPatchMasterPoint,
35 const bitSet& isPatchMasterEdge,
57 Info<< typeName <<
" : Smoothing field ..." <<
endl;
59 for (label iter = 0; iter < nIter; iter++)
99 Info<<
" Iteration " << iter <<
" residual " << resid <<
endl;
static void weightedSum(const polyMesh &mesh, const bitSet &isMasterEdge, const labelList &meshPoints, const edgeList &edges, const scalarField &edgeWeights, const Field< Type > &data, Field< Type > &sum)
static T gAverage(const bitSet &isMasterElem, const UList< T > &values)
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
const edgeList & edges() const
Type gAverage(const FieldField< Field, Type > &f)
tmp< GeometricField< Type, faPatchField, areaMesh > > average(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Ostream & endl(Ostream &os)
static void calculateEdgeWeights(const polyMesh &mesh, const bitSet &isMasterEdge, const labelList &meshPoints, const edgeList &edges, scalarField &edgeWeights, scalarField &invSumWeight)
Generic templated field type.
void minSmoothField(const label nIter, const bitSet &isPatchMasterPoint, const bitSet &isPatchMasterEdge, const indirectPrimitivePatch &adaptPatch, const scalarField &fieldMin, Field< Type > &field) const
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)
const labelList & meshPoints() const
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)
A list of faces which address into the list of points.