FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

errorDrivenRefinement Class Reference

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

#include <errorEstimation/errorDrivenRefinement.H>


Detailed Description

Refines and coarsens based on error estimate.

Source files

Definition at line 52 of file errorDrivenRefinement.H.

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.

Constructor & Destructor Documentation

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

Construct from dictionary.

Definition at line 61 of file errorDrivenRefinement.C.

~errorDrivenRefinement (  ) [virtual]

Definition at line 76 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 83 of file errorDrivenRefinement.C.

References Foam::endl(), objectRegistry::foundObject(), Foam::Info, and objectRegistry::time().

void modifyMotionPoints ( pointField &   motionPoints  ) const [virtual]

Modify motion points to comply with the topological change.

Implements polyMeshModifier.

Definition at line 229 of file errorDrivenRefinement.C.

References Foam::endl(), and Foam::Info.

void updateMesh ( const mapPolyMesh &   morphMap  ) [virtual]

Force recalculation of locally stored data on topological change.

Implements polyMeshModifier.

Definition at line 240 of file errorDrivenRefinement.C.

References Foam::endl(), and Foam::Info.

void write ( Ostream &   os  ) const [virtual]

Write.

Implements polyMeshModifier.

Definition at line 252 of file errorDrivenRefinement.C.

References Foam::nl, and Foam::type().

void writeDict ( Ostream &   os  ) const [virtual]
const undoableMeshCutter& refinementEngine (  ) const [inline]

Underlying mesh modifier.

Definition at line 122 of file errorDrivenRefinement.H.


The documentation for this class was generated from the following files: