#include <dune/grid/albertagrid/macrodata.hh>
List of all members.
Public Types |
| typedef int | ElementId [numVertices] |
Public Member Functions |
| | 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
|
| void | finalize () |
| | compress macro data structure
|
| void | markLongestEdge () |
| | mark the longest edge of all elements as refinement edges
|
| void | setOrientation (const Real orientation) |
| | set the orientation of all elements
|
| bool | checkNeighbors () const |
| | check the neighbor information
|
| void | release () |
| | release the macro data structure
|
| int | insertElement (const ElementId &id) |
| | insert element
|
| int | insertVertex (const GlobalVector &coords) |
| | insert vertex
|
| int | insertVertex (const FieldVector< Real, dimWorld > &coords) |
| | insert vertex
|
| 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 |
Static Public Attributes |
| static const int | supportPeriodicity = (DUNE_ALBERTA_VERSION >= 0x300) |
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
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.
Friends And Related Function Documentation
template<int dim>
| friend struct InstantiateMacroDataLibrary |
|
friend |
Member Data Documentation
The documentation for this class was generated from the following file: