dune-pdelab
2.4.1
|
Wrapper for Dune::ReferenceElement with value semantics. More...
#include <dune/pdelab/common/referenceelements.hh>
Public Types | |
template<int codim> | |
using | Codim = typename RE::template Codim< codim > |
using | ctype = typename Codim< 0 >::Geometry::ctype |
The coordinate field type. More... | |
using | CoordinateField = ctype |
The coordinate field type. More... | |
using | Coordinate = FieldVector< CoordinateField, dimension > |
The coordinate type of the reference element. More... | |
Public Member Functions | |
int | size (int c) const |
int | size (int i, int c, int cc) const |
int | subEntity (int i, int c, int ii, int cc) const |
GeometryType | type (int i, int c) const |
GeometryType | type () const |
const Coordinate & | position (int i, int c) const |
bool | checkInside (const Coordinate &local) const |
template<int codim> | |
Codim< codim >::Geometry | geometry (int i) const |
CoordinateField | volume () const |
const Coordinate & | integrationOuterNormal (int face) const |
Static Public Attributes | |
static const std::size_t | dimension = Codim<0>::Geometry::coorddimension |
The dimension of the reference element. More... | |
Wrapper for Dune::ReferenceElement with value semantics.
This class wraps a Dune::ReferenceElement and exposes the relevant parts of its interface. Note, however, that its signature is different, so code that relies on partial specialization of the reference element type will not work with the wrapper.
For the exact documentation of the individual members, please see the documentation of Dune::ReferenceElement.
This class exports three additional items of static information:
CoordinateField
denotes the field type of the spatial coordinates of the reference element.Coordinate
denotes the type of spatial coordinate vectors.dimension
denotes the dimension of the element.using Dune::PDELab::ReferenceElementWrapper< RE >::Codim = typename RE::template Codim<codim> |
using Dune::PDELab::ReferenceElementWrapper< RE >::Coordinate = FieldVector<CoordinateField,dimension> |
The coordinate type of the reference element.
using Dune::PDELab::ReferenceElementWrapper< RE >::CoordinateField = ctype |
The coordinate field type.
using Dune::PDELab::ReferenceElementWrapper< RE >::ctype = typename Codim<0>::Geometry::ctype |
The coordinate field type.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
The dimension of the reference element.