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. | |
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. | |
| errorDrivenRefinement | ( | const word & | name, |
| const dictionary & | dict, | ||
| const label | index, | ||
| const polyTopoChanger & | mme | ||
| ) |
Construct from dictionary.
Definition at line 61 of file errorDrivenRefinement.C.
|
virtual |
Definition at line 76 of file errorDrivenRefinement.C.
| TypeName | ( | "errorDrivenRefinement" | ) |
Runtime type information.
|
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().
|
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().
|
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.
|
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.
|
virtual |
Write.
Implements polyMeshModifier.
Definition at line 252 of file errorDrivenRefinement.C.
References Foam::nl, and Foam::type().
|
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().
|
inline |
Underlying mesh modifier.
Definition at line 122 of file errorDrivenRefinement.H.