|
| using | HostGridType = HostGrid |
| | The hostgrid type.
|
| |
| using | GridFamily = MMeshFamily< dim, HostGrid > |
| | The grid family type.
|
| |
| using | Point = typename HostGrid::Point |
| | The point type.
|
| |
| using | FieldType = typename Point::R::RT |
| | The field type.
|
| |
| using | IdType = MMeshImpl::MultiId |
| | The type of an id.
|
| |
| using | BoundarySegments = std::unordered_map< IdType, std::size_t > |
| | The boundary segment map.
|
| |
| using | BoundaryIds = std::unordered_map< std::size_t, std::size_t > |
| | The boundary id map.
|
| |
| using | InterfaceSegments = std::unordered_map< IdType, std::size_t > |
| | The interface segment set.
|
| |
| using | Traits = typename GridFamily::Traits |
| | The Traits.
|
| |
| using | GridImp = typename GridFamily::Traits::Grid |
| | The grid implementation.
|
| |
| using | GridPtrType = std::unique_ptr< GridImp > |
| | The unique pointer to the grid.
|
| |
| using | LeafIterator = typename Traits::template Codim< 0 >::LeafIterator |
| | The leaf iterator.
|
| |
| using | GlobalCoordinate = Dune::FieldVector< FieldType, dimension > |
| | The type used for coordinates.
|
| |
| template<int cd> |
| using | HostGridEntity = typename HostGridEntityChooser_< HostGridType, dimension, cd >::type |
| | The type of the underlying entities.
|
| |
| using | ElementHandle = HostGridEntity< 0 > |
| | The type of the underlying element handle.
|
| |
| using | FacetHandle = HostGridEntity< 1 > |
| | The type of the underlying edge handle.
|
| |
| using | EdgeHandle = HostGridEntity< dimension - 1 > |
| | The type of the underlying edge handle.
|
| |
| using | VertexHandle = HostGridEntity< dimension > |
| | The type of the underlying vertex handle.
|
| |
| using | ElementOutput = std::list< HostGridEntity< 0 > > |
| | The type of the element output.
|
| |
| using | BoundaryEdgesOutput = std::list< FacetHandle > |
| | The type of the boundary edges output.
|
| |
| using | Entity = typename Traits::template Codim< 0 >::Entity |
| | The type of a codim 0 entity.
|
| |
| using | Facet = typename Traits::template Codim< 1 >::Entity |
| | The type of a codim 1 entity ('facet')
|
| |
| using | Edge = typename Traits::template Codim< dimension - 1 >::Entity |
| | The type of a codim dim-1 entity ('edge')
|
| |
| using | Vertex = typename Traits::template Codim< dimension >::Entity |
| | The type of a codim dim entity ('vertex')
|
| |
| using | CachingEntity = MMeshCachingEntity< 0, dimension, const GridImp > |
| | The type of a caching entity.
|
| |
| using | ConnectedComponent = MMeshConnectedComponent< const GridImp > |
| | The type used to store connected components of entities.
|
| |
| using | InterfaceElement = typename Traits::template Codim< 1 >::Entity |
| | The type of an interface element.
|
| |
| using | Intersection = typename Traits::LeafIntersection |
| | The type of an intersection.
|
| |
| using | InterfaceGrid = MMeshInterfaceGrid< GridImp > |
| | The type of the interface grid.
|
| |
| using | InterfaceEntity = typename InterfaceGrid::Traits::template Codim< 0 >::Entity |
| | The type of an interface grid entity.
|
| |
| using | InterfaceGridConnectedComponent = MMeshInterfaceConnectedComponent< const InterfaceGrid > |
| | The type of a connected component of interface grid entities.
|
| |
| using | RefinementInsertionPoint = RefinementInsertionPointStruct< Point, Edge, IdType, VertexHandle, InterfaceGridConnectedComponent > |
| | The type of a refinement insertion point.
|
| |
| using | RemeshingIndicator = RatioIndicator< GridImp > |
| | The type of the employed remeshing indicator.
|
| |
| using | RefinementStrategy = LongestEdgeRefinement< GridImp > |
| | The type of the employed refinement strategy.
|
| |
| using | InterfaceRefinementStrategy = LongestEdgeRefinement< InterfaceGrid > |
| | The type of the employed refinement strategy for the interface grid.
|
| |
|
| | MMesh (HostGrid hostgrid) |
| | Constructor that takes a CGAL triangulation.
|
| |
| | MMesh (HostGrid hostgrid, BoundarySegments boundarySegments, BoundarySegments interfaceBoundarySegments, BoundaryIds boundaryIds, InterfaceSegments interfaceSegments) |
| | Constructor that takes additional about interface and boundary.
|
| |
| const GridImp * | This () const |
| | This pointer to derived class.
|
| |
| GridImp * | This () |
| |
| void | update () |
| | update the grid indices and ids
|
| |
| int | maxLevel () const |
| | Return maximum level defined in this grid.
|
| |
| int | size (int level, int codim) const |
| | Number of grid entities per level and codim.
|
| |
| size_t | numBoundarySegments () const |
| | returns the number of boundary segments within the macro grid
|
| |
| const BoundarySegments & | boundarySegments () const |
| | returns the boundary segment to index map
|
| |
| const BoundaryIds & | boundaryIds () const |
| | returns the boundary segment index to boundary id map
|
| |
| const InterfaceSegments & | interfaceSegments () const |
| | returns the interface segment set
|
| |
| InterfaceSegments & | interfaceSegments () |
| | returns the interface segment set
|
| |
| void | addInterface (const Intersection &intersection, const std::size_t marker=1) |
| | Add an intersection to the interface.
|
| |
| template<class I > |
| void | addInterface (const I &intersection, const std::size_t marker=1) |
| | Add wrapped intersection to the interface.
|
| |
| int | size (int codim) const |
| | number of leaf entities per codim in this process
|
| |
| int | size (int level, GeometryType type) const |
| | number of entities per level, codim and geometry type in this process
|
| |
| int | size (GeometryType type) const |
| | number of leaf entities per codim and geometry type in this process
|
| |
| const Traits::GlobalIdSet & | globalIdSet () const |
| | Access to the GlobalIdSet.
|
| |
| const Traits::LocalIdSet & | localIdSet () const |
| | Access to the LocalIdSet.
|
| |
| const MMeshLeafIndexSet< const GridImp > & | levelIndexSet (int level) const |
| | Access to the LevelIndexSets.
|
| |
| const MMeshLeafIndexSet< const GridImp > & | leafIndexSet () const |
| | Access to the LeafIndexSet.
|
| |
| template<class EntitySeed > |
| Traits::template Codim< EntitySeed::codimension >::Entity | entity (const EntitySeed &seed) const |
| | Create Entity from EntitySeed.
|
| |
| Vertex | entity (const HostGridEntity< dimension > &vertexHandle) const |
| | Return the entity corresponding to a vertex handle.
|
| |
| Entity | entity (const HostGridEntity< 0 > &elementHandle) const |
| | Return the entity corresponding to a element handle.
|
| |
| InterfaceElement | entity (const FacetHandle &facetHandle) const |
| |
| template<int d = dim> |
| std::enable_if_t< d==3, Edge > | entity (const HostGridEntity< 2 > &edgeHandle) const |
| |
| template<int codim> |
| Traits::template Codim< codim >::LevelIterator | lbegin (int level) const |
| | Iterator to first entity of given codim on level.
|
| |
| template<int codim> |
| Traits::template Codim< codim >::LevelIterator | lend (int level) const |
| | one past the end on this level
|
| |
| template<int codim, PartitionIteratorType PiType> |
| Traits::template Codim< codim >::template Partition< PiType >::LevelIterator | lbegin (int level) const |
| | Iterator to first entity of given codim on level.
|
| |
| template<int codim, PartitionIteratorType PiType> |
| Traits::template Codim< codim >::template Partition< PiType >::LevelIterator | lend (int level) const |
| | one past the end on this level
|
| |
| template<int codim> |
| Traits::template Codim< codim >::LeafIterator | leafbegin () const |
| | Iterator to first leaf entity of given codim.
|
| |
| template<int codim> |
| Traits::template Codim< codim >::LeafIterator | leafend () const |
| | one past the end of the sequence of leaf entities
|
| |
| template<int codim, PartitionIteratorType PiType> |
| Traits::template Codim< codim >::template Partition< PiType >::LeafIterator | leafbegin () const |
| | Iterator to first leaf entity of given codim.
|
| |
| template<int codim, PartitionIteratorType PiType> |
| Traits::template Codim< codim >::template Partition< PiType >::LeafIterator | leafend () const |
| | one past the end of the sequence of leaf entities
|
| |
| Traits::LevelIntersectionIterator | ilevelbegin (const typename Traits::template Codim< 0 >::Entity &entity) const |
| |
| Traits::LevelIntersectionIterator | ilevelend (const typename Traits::template Codim< 0 >::Entity &entity) const |
| |
| Traits::LeafIntersectionIterator | ileafbegin (const typename Traits::template Codim< 0 >::Entity &entity) const |
| |
| Traits::LeafIntersectionIterator | ileafend (const typename Traits::template Codim< 0 >::Entity &entity) const |
| |
| template<int codim> |
| MMeshInterfaceIterator< codim, const GridImp > | interfaceBegin (bool includeBoundary=false) const |
| | iterator to first interface entity
|
| |
| template<int codim> |
| MMeshInterfaceIterator< codim, const GridImp > | interfaceEnd (bool includeBoundary=false) const |
| | one past the end of the sequence of interface entities
|
| |
| MMeshInterfaceVertexIterator< const GridImp > | interfaceVerticesBegin (bool includeBoundary=false) const |
| | iterator to first interface entity
|
| |
| MMeshInterfaceVertexIterator< const GridImp > | interfaceVerticesEnd (bool includeBoundary=false) const |
| | one past the end of the sequence of interface entities
|
| |
| bool | isInterface (const Vertex &vertex) const |
| | Return if vertex is part of the interface.
|
| |
| bool | isInterface (const Intersection &intersection) const |
| | Return if intersection is part of the interface.
|
| |
| template<class OtherIntersection > |
| bool | isInterface (const OtherIntersection &intersection) const |
| | Return if intersection is part of the interface.
|
| |
| bool | isInterface (const InterfaceElement &segment) const |
| | Return if element is part of the interface.
|
| |
| template<int d = dim> |
| std::enable_if_t< d==3, bool > | isInterface (const Edge &edge) const |
| | Return if edge in 3d is part of an interface segment.
|
| |
| bool | isOnInterface (const Entity &entity) const |
| | Return if entity shares a facet with the interface.
|
| |
| InterfaceEntity | asInterfaceEntity (const InterfaceElement &segment) const |
| | Return a codim 1 entity as a interface grid codim 0 entity.
|
| |
| InterfaceEntity | asInterfaceEntity (const Intersection &intersection) const |
| | Return an intersection as a interface grid codim 0 entity.
|
| |
| template<class OtherIntersection > |
| InterfaceEntity | asInterfaceEntity (const OtherIntersection &intersection) const |
| | Return an intersection as a interface grid codim 0 entity.
|
| |
| Intersection | asIntersection (const InterfaceEntity &interfaceEntity) const |
| | Return an interface entity as intersection of a MMesh entity.
|
| |
| Intersection | asIntersection (const Facet &facet) const |
| | Return a facet as intersection.
|
| |
| Intersection | asIntersection (const FacetHandle &host) const |
| | Return a host facet as intersection.
|
| |
| const Entity | locate (const GlobalCoordinate &p, const Entity &element={}) const |
| | Locate an entity by coordinate using CGAL's locate.
|
| |
| void | globalRefine (int steps=1) |
| | Global refine.
|
| |
| bool | mark (int refCount, const typename Traits::template Codim< 0 >::Entity &e) const |
| | Mark entity for refinement.
|
| |
| bool | markElements () |
| | Mark elements for adaption using the default remeshing indicator.
|
| |
| int | getMark (const typename Traits::template Codim< 0 >::Entity &e) const |
| | Return refinement mark for entity.
|
| |
| bool | preAdapt () |
| | returns false, if at least one entity is marked for adaption
|
| |
| void | refineEdge (const Entity &entity, const std::size_t edgeIndex, const double where=0.5) |
| | Refine edge manually.
|
| |
| void | insertVertexInCell (const GlobalCoordinate &position) |
| | Insert vertex in cell manually.
|
| |
| void | removeVertex (const typename InterfaceGrid::Traits::template Codim< dim - 1 >::Entity &interfaceVertex) |
| | Remove interface vertex manually.
|
| |
| void | removeVertex (const Vertex &vertex) |
| | Remove vertex manually.
|
| |
| bool | adapt () |
| | Triggers the grid adaptation process.
|
| |
| bool | ensureInterfaceMovement (std::vector< GlobalCoordinate > shifts) |
| | Mark elements such that after movement of interface vertices no cell degenerates.
|
| |
| bool | ensureVertexMovement (std::vector< GlobalCoordinate > shifts) |
| | Mark elements such that after movement of vertices no cell degenerates.
|
| |
| template<class GridImp , class DataHandle > |
| bool | adapt (AdaptDataHandleInterface< GridImp, DataHandle > &handle) |
| | Callback for the grid adaptation process with restrict/prolong.
|
| |
| void | moveInterface (const std::vector< GlobalCoordinate > &shifts) |
| | Move interface vertices.
|
| |
| void | moveVertices (const std::vector< GlobalCoordinate > &shifts) |
| | Move vertices.
|
| |
| template<typename Vertex > |
| void | addToInterface (const Vertex &vertex, const GlobalCoordinate &p) |
| |
| void | postAdapt () |
| | Clean up refinement markers.
|
| |
| unsigned int | overlapSize (int codim) const |
| | Size of the overlap on the leaf level.
|
| |
| unsigned int | ghostSize (int codim) const |
| | Size of the ghost cell layer on the leaf level.
|
| |
| unsigned int | overlapSize (int level, int codim) const |
| | Size of the overlap on a given level.
|
| |
| unsigned int | ghostSize (int level, int codim) const |
| | Size of the ghost cell layer on a given level.
|
| |
| void | loadBalance () |
| | Distributes this grid over the available nodes in a distributed machine.
|
| |
| template<class T > |
| bool | loadBalance (const T &t) |
| | Distributes this grid over the available nodes in a distributed machine.
|
| |
| void | loadBalance (int strategy, int minlevel, int depth, int maxlevel, int minelement) |
| |
| const Communication< Comm > & | comm () const |
| | Communication.
|
| |
| template<class Data , class InterfaceType , class CommunicationDirection > |
| void | communicate (Data &dataHandle, InterfaceType interface, CommunicationDirection direction, int level=0) const |
| |
| const HostGrid & | getHostGrid () const |
| | Get reference to the underlying CGAL triangulation.
|
| |
| HostGrid & | getHostGrid () |
| | Get non-const reference to the underlying CGAL triangulation.
|
| |
| const InterfaceGrid & | interfaceGrid () const |
| | Get reference to the interface grid.
|
| |
| InterfaceGrid & | interfaceGrid () |
| | Get a non-const reference to the interface grid.
|
| |
| const auto & | interfaceGridPtr () |
| | Get a pointer to the interface grid.
|
| |
| const ConnectedComponent & | getConnectedComponent (const Entity &entity) const |
| |
| const RemeshingIndicator & | indicator () const |
| |
| RemeshingIndicator & | indicator () |
| |
| const auto & | distance () const |
| |
| int | sequence () const |
| |
| const PartitionHelper< GridImp > & | partitionHelper () const |
| |
template<
class HostGrid,
int dim>
class Dune::MMesh< HostGrid, dim >
The MMesh class templatized by the CGAL host grid type and the dimension. .