dune-mmesh (1.4)

Dune::LongestEdgeRefinement< Grid > Class Template Reference

Class defining a longest edge refinement strategy. More...

#include <dune/mmesh/remeshing/longestedgerefinement.hh>

Static Public Member Functions

template<class Element >
static auto refinement (const Element &element)
 Returns the refinement/coarsening point for each grid cell. More...
 
template<class Element >
static Vertex coarsening (const Element &element)
 return coarsening vertex (vertex of shortest edge) More...
 
static bool atBoundary (const Vertex &v)
 return if vertex is incident to infinite vertex
 
static int boundaryFlag (const Vertex &v)
 return if vertex is removable at the boundary
 
template<class Vertex >
static bool isRemoveable (const Vertex &vertex)
 return if interface vertex is neither a tip nor a junction
 

Detailed Description

template<class Grid>
class Dune::LongestEdgeRefinement< Grid >

Class defining a longest edge refinement strategy.

Member Function Documentation

◆ coarsening()

template<class Grid >
template<class Element >
static Vertex Dune::LongestEdgeRefinement< Grid >::coarsening ( const Element &  element)
inlinestatic

return coarsening vertex (vertex of shortest edge)

Parameters
elementA grid element

References Dune::LongestEdgeRefinement< Grid >::isRemoveable().

Referenced by Dune::MMesh< HostGrid, dim >::adapt().

◆ refinement()

template<class Grid >
template<class Element >
static auto Dune::LongestEdgeRefinement< Grid >::refinement ( const Element &  element)
inlinestatic

Returns the refinement/coarsening point for each grid cell.

return refinement point (center of longest edge)

Parameters
elementA grid element

Referenced by Dune::MMesh< HostGrid, dim >::adapt().


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Apr 6, 22:49, 2025)