dune-grid-glue  2.3.0
Public Types | Public Member Functions | List of all members
Dune::GridGlue::SimplexGeometry< ctype, mydim, coorddim > Class Template Reference

This class is derived from BasicGeometry using tuned geometry traits. More...

#include <dune/grid-glue/common/simplexgeometry.hh>

Inheritance diagram for Dune::GridGlue::SimplexGeometry< ctype, mydim, coorddim >:
Inheritance graph

Public Types

typedef Base::Mapping Mapping
 

Public Member Functions

template<class CoordVector >
 SimplexGeometry (const Dune::GeometryType &type, const CoordVector &coords)
 
 SimplexGeometry ()
 
void setup (const Dune::GeometryType &type, const Dune::array< Dune::FieldVector< ctype, coorddim >, simplex_corners > &coordinates)
 Setup method with a geometry type and a set of corners. More...
 

Detailed Description

template<class ctype, int mydim, int coorddim>
class Dune::GridGlue::SimplexGeometry< ctype, mydim, coorddim >

This class is derived from BasicGeometry using tuned geometry traits.

The used geometry traits allow for a more efficient compilation of the default implementation of CornerMapping. Using only affine mappings it is specialized for the case of exclusively simplicial geometries.

Member Typedef Documentation

template<class ctype , int mydim, int coorddim>
typedef Base::Mapping Dune::GridGlue::SimplexGeometry< ctype, mydim, coorddim >::Mapping

Constructor & Destructor Documentation

template<class ctype , int mydim, int coorddim>
template<class CoordVector >
Dune::GridGlue::SimplexGeometry< ctype, mydim, coorddim >::SimplexGeometry ( const Dune::GeometryType &  type,
const CoordVector &  coords 
)
inline
template<class ctype , int mydim, int coorddim>
Dune::GridGlue::SimplexGeometry< ctype, mydim, coorddim >::SimplexGeometry ( )
inline

Member Function Documentation

template<class ctype , int mydim, int coorddim>
void Dune::GridGlue::SimplexGeometry< ctype, mydim, coorddim >::setup ( const Dune::GeometryType &  type,
const Dune::array< Dune::FieldVector< ctype, coorddim >, simplex_corners > &  coordinates 
)
inline

Setup method with a geometry type and a set of corners.

Parameters
typethe geometry type of this subface, i.e. most likely a simplex in 1D or 2D
coordinatesThe corner coordinates in DUNE numbering

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