#include <dune/grid/albertagrid/macrodata.hh>
|
| | MacroData () |
| |
| | operator Data * () const |
| |
| int | vertexCount () const |
| |
| int | elementCount () const |
| |
| ElementId & | element (int i) const |
| |
| GlobalVector & | vertex (int i) const |
| |
| int & | neighbor (int element, int i) const |
| |
| BoundaryId & | boundaryId (int element, int i) const |
| |
| void | create () |
| | create a new macro data structure More...
|
| |
| void | finalize () |
| | compress macro data structure More...
|
| |
| void | markLongestEdge () |
| | mark the longest edge of all elements as refinement edges More...
|
| |
| void | setOrientation (const Real orientation) |
| | set the orientation of all elements More...
|
| |
| bool | checkNeighbors () const |
| | check the neighbor information More...
|
| |
| void | release () |
| | release the macro data structure More...
|
| |
| int | insertElement (const ElementId &id) |
| | insert element More...
|
| |
| int | insertVertex (const GlobalVector &coords) |
| | insert vertex More...
|
| |
| int | insertVertex (const FieldVector< Real, dimWorld > &coords) |
| | insert vertex More...
|
| |
| void | insertWallTrafo (const GlobalMatrix &m, const GlobalVector &t) |
| |
| void | insertWallTrafo (const FieldMatrix< Real, dimWorld, dimWorld > &matrix, const FieldVector< Real, dimWorld > &shift) |
| |
| void | checkCycles () |
| |
| void | read (const std::string &filename, bool binary=false) |
| |
| bool | write (const std::string &filename, bool binary=false) const |
| |
check the neighbor information
This method allows the verification of neighbor information in a finalized (and possibly postprecessed) macro triangulation.
- Note
- On unfinalized macro triangulations there is no neighbor information. Hence this check will succeed in this case.
- Returns
- true, if all generated neighbor information is correct.
create a new macro data structure
A new macro data structure is created and put into insert mode.
insert vertex
Insert a vertex into the macro data structure. This may only be done in insert mode.
insert vertex
Insert a vertex into the macro data structure. This may only be done in insert mode.
mark the longest edge of all elements as refinement edges
This is a postprocessing step and should be done after finalizing the triangulation.
- Note
- Though it is possible to call markLongestEdge in insert mode, you must make sure that all required vertices have been set.
set the orientation of all elements
This is a postprocessing step and should be done after finalizing the triangulation.
- Note
- Though it is possible to call setOrientation in insert mode, you must make sure that all required vertices have been set.
template<int dim>
template<int >
| friend struct InstantiateMacroDataLibrary |
|
friend |
The documentation for this class was generated from the following file: