OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

evaluateError Class Reference

Foam::evaluateError. More...

Collaboration diagram for evaluateError:

List of all members.


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

Detailed Description

Foam::evaluateError.

Source files

Definition at line 50 of file evaluateError.H.


Constructor & Destructor Documentation

evaluateError (  ) 

Construct null.

Definition at line 27 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 36 of file evaluateError.C.


Member Function Documentation

const labelList& unsplitFaces (  )  const [inline]

Definition at line 93 of file evaluateError.H.

const List<refineCell>& refCells (  )  const [inline]

Definition at line 98 of file evaluateError.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd