#include <errorEstimation/evaluateError.H>
Definition at line 55 of file evaluateError.H.
Public Member Functions | |
evaluateError () | |
Construct null.
| |
evaluateError (const volScalarField &cellError, const volVectorField &gradTheta, const surfaceScalarField &faceError, const labelList &candidateFaces) | |
Construct from error value, error direction. Determine faces to.
| |
const labelList & | unsplitFaces () const |
const List< refineCell > & | refCells () const |
evaluateError | ( | ) |
Construct null.
Definition at line 35 of file evaluateError.C.
evaluateError | ( | const volScalarField & | cellError, |
const volVectorField & | gradTheta, | ||
const surfaceScalarField & | faceError, | ||
const labelList & | candidateFaces | ||
) |
Construct from error value, error direction. Determine faces to.
remove (out of candidate faces) and cells to refine (all cells):
remove all faces where the (face)error is less than average - standard deviation refine all cells where the (cell)error is more than average + standard deviation. gradTheta is used to determine direction to refine in.
Definition at line 44 of file evaluateError.C.
References Foam::average(), DimensionedField< Type, GeoMesh >::average(), Foam::endl(), forAll, Foam::Info, DimensionedField< Type, GeoMesh >::mesh(), mesh, primitiveMesh::nCells(), primitiveMesh::nFaces(), List< T >::size(), Foam::sqr(), Foam::sqrt(), and dimensioned< Type >::value().
const labelList& unsplitFaces | ( | ) | const [inline]
|
Definition at line 96 of file evaluateError.H.
const List<refineCell>& refCells | ( | ) | const [inline]
|
Definition at line 101 of file evaluateError.H.