Refines and coarsens based on error estimate. More...
#include <errorEstimation/errorDrivenRefinement.H>
Refines and coarsens based on error estimate.
Definition at line 52 of file errorDrivenRefinement.H.
Inheritance diagram for errorDrivenRefinement:
Collaboration diagram for errorDrivenRefinement: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.
| |
| 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.
| 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 setRefinement | ( | polyTopoChange & | ref ) | const [virtual]
|
Insert the layer addition/removal instructions.
into the topological change
Implements polyMeshModifier.
Definition at line 112 of file errorDrivenRefinement.C.
References Foam::average(), Foam::endl(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), forAll, Foam::Info, Foam::fvc::interpolate(), primitiveMesh::isInternalFace(), objectRegistry::lookupObject(), Foam::mag(), Foam::max(), mesh, Foam::min(), primitiveMesh::nCells(), List< T >::setSize(), List< T >::size(), objectRegistry::time(), and Ostream::write().
| 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]
|
Write dictionary.
Implements polyMeshModifier.
Definition at line 258 of file errorDrivenRefinement.C.
References token::BEGIN_BLOCK, token::END_BLOCK, token::END_STATEMENT, Foam::endl(), Foam::name(), Foam::nl, and Foam::type().
| const undoableMeshCutter& refinementEngine | ( | ) | const [inline]
|
Underlying mesh modifier.
Definition at line 122 of file errorDrivenRefinement.H.