OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

evaluateError Class Reference

Collaboration diagram for evaluateError:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 62 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

Constructor & Destructor Documentation

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.

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.


Member Function Documentation

const labelList& unsplitFaces (  )  const [inline]

Definition at line 105 of file evaluateError.H.

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

Definition at line 110 of file evaluateError.H.


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