FreeFOAM The Cross-Platform CFD Toolkit
errorDrivenRefinement Class Reference

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

#include <errorEstimation/errorDrivenRefinement.H>


Detailed Description

+ 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.
- Public Member Functions inherited from polyMeshModifier
 TypeName ("meshModifier")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, polyMeshModifier, dictionary,(const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme),(name, dict, index, mme))
 polyMeshModifier (const word &name, const label index, const polyTopoChanger &mme, const bool act)
 Construct from components.
virtual ~polyMeshModifier ()
const word & name () const
 Return name.
label index () const
 Return the index of this patch in the boundaryMesh.
const polyTopoChanger & topoChanger () const
 Return reference to morph engine.
const Switch & active () const
void enable () const
 Activate mesh modifier.
void disable () const
 Activate mesh modifier.

Additional Inherited Members

- Static Public Member Functions inherited from polyMeshModifier
static autoPtr< polyMeshModifier > New (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
 Select constructed from dictionary.

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: