Static Public Member Functions

element_refinement< triangle_tag > Struct Template Reference

Specialization of the refinement class for a triangle. More...

#include <triangle.hpp>

Static Public Member Functions

template<typename CellType , typename DomainTypeOut >
static void apply0 (CellType const &cell_in, DomainTypeOut &segment_out)
 No refinement. Just put same cell into new domain.
template<typename CellType , typename DomainTypeOut >
static void apply1 (CellType const &cell_in, DomainTypeOut &segment_out)
 Refinement for one edge to be bisected.
template<typename CellType , typename DomainTypeOut >
static void apply2 (CellType const &cell_in, DomainTypeOut &segment_out)
 Refinement for one edge to be bisected.
template<typename CellType , typename DomainTypeOut >
static void apply3 (CellType const &cell_in, DomainTypeOut &segment_out)
 Refinement of a triangle with three edges to be refined (uniform refinement).
template<typename CellType , typename DomainTypeOut >
static void apply (CellType const &cell_in, DomainTypeOut &segment_out)
 Public entry function for the refinement of a triangle.

Detailed Description

template<>
struct viennagrid::element_refinement< triangle_tag >

Specialization of the refinement class for a triangle.


Member Function Documentation

static void apply ( CellType const &  cell_in,
DomainTypeOut &  segment_out 
) [inline, static]

Public entry function for the refinement of a triangle.

Parameters:
cell_in The triangle to be refined
segment_out The domain or segment the refined triangles are written to
static void apply0 ( CellType const &  cell_in,
DomainTypeOut &  segment_out 
) [inline, static]

No refinement. Just put same cell into new domain.

static void apply1 ( CellType const &  cell_in,
DomainTypeOut &  segment_out 
) [inline, static]

Refinement for one edge to be bisected.

Orientation of vertices (established by rotating the triangle appropriately)

2 / \ / \ 0 - 3 - 1

static void apply2 ( CellType const &  cell_in,
DomainTypeOut &  segment_out 
) [inline, static]

Refinement for one edge to be bisected.

Orientation of vertices: (established by rotating the triangle appropriately)

2 / \ / 4 / \ 0 -- 3 -- 1

static void apply3 ( CellType const &  cell_in,
DomainTypeOut &  segment_out 
) [inline, static]

Refinement of a triangle with three edges to be refined (uniform refinement).


The documentation for this struct was generated from the following file: