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

errorDrivenRefinement Class Reference

Refines and coarsens based on error estimate. More...

Inheritance diagram for errorDrivenRefinement:
Collaboration diagram for errorDrivenRefinement:

List of all members.


Public Member Functions

 TypeName ("errorDrivenRefinement")
 Runtime type information.
 errorDrivenRefinement (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
 Construct from dictionary.
virtual ~errorDrivenRefinement ()
virtual bool changeTopology () const
 Check for topology change.
virtual void setRefinement (polyTopoChange &) const
 Insert the layer addition/removal instructions.
virtual void modifyMotionPoints (pointField &motionPoints) const
 Modify motion points to comply with the topological change.
virtual void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change.
virtual void write (Ostream &) const
 Write.
virtual void writeDict (Ostream &) const
 Write dictionary.
const undoableMeshCutter & refinementEngine () const
 Underlying mesh modifier.

Detailed Description

Refines and coarsens based on error estimate.

Source files

Definition at line 47 of file errorDrivenRefinement.H.


Constructor & Destructor Documentation

errorDrivenRefinement ( const word &  name,
const dictionary &  dict,
const label  index,
const polyTopoChanger &  mme 
)

Construct from dictionary.

Definition at line 53 of file errorDrivenRefinement.C.

~errorDrivenRefinement (  )  [virtual]

Definition at line 68 of file errorDrivenRefinement.C.


Member Function Documentation

TypeName ( "errorDrivenRefinement"   ) 

Runtime type information.

bool changeTopology (  )  const [virtual]

Check for topology change.

Implements polyMeshModifier.

Definition at line 75 of file errorDrivenRefinement.C.

void setRefinement ( polyTopoChange &  ref  )  const [virtual]

Insert the layer addition/removal instructions.

into the topological change

Implements polyMeshModifier.

Definition at line 104 of file errorDrivenRefinement.C.

void modifyMotionPoints ( pointField &  motionPoints  )  const [virtual]

Modify motion points to comply with the topological change.

Implements polyMeshModifier.

Definition at line 221 of file errorDrivenRefinement.C.

void updateMesh ( const mapPolyMesh &  morphMap  )  [virtual]

Force recalculation of locally stored data on topological change.

Implements polyMeshModifier.

Definition at line 232 of file errorDrivenRefinement.C.

References Foam::Info.

void write ( Ostream &  os  )  const [virtual]

Write.

Implements polyMeshModifier.

Definition at line 244 of file errorDrivenRefinement.C.

References Foam::Info.

void writeDict ( Ostream &  os  )  const [virtual]

Write dictionary.

Implements polyMeshModifier.

Definition at line 250 of file errorDrivenRefinement.C.

const undoableMeshCutter& refinementEngine (  )  const [inline]

Underlying mesh modifier.

Definition at line 119 of file errorDrivenRefinement.H.


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