dune-geometry  2.4
Public Types | List of all members
Dune::MultiLinearGeometryTraits< ct >::CornerStorage< mydim, cdim > Struct Template Reference

template specifying the storage for the corners More...

#include <dune/geometry/multilineargeometry.hh>

Public Types

typedef std::vector< FieldVector< ct, cdim > > Type
 

Detailed Description

template<class ct>
template<int mydim, int cdim>
struct Dune::MultiLinearGeometryTraits< ct >::CornerStorage< mydim, cdim >

template specifying the storage for the corners

Internally, the MultiLinearGeometry needs to store the corners of the geometry.

The corner storage may be chosen depending on geometry dimension and coordinate dimension. It is required to contain a type named Type, e.g.,

template< int mydim, int cdim >
struct CornerStorage
{
typedef std::vector< FieldVector< ctype, cdim > > Type;
};

By default, a std::vector of FieldVector is used.

Apart from being copy constructable and assignable, the corner storage must provide a constant input iterator, i.e., it must define a type const_iterator and a pair of constant begin / end methods.

Template Parameters
mydimgeometry dimension
cdimcoordinate dimension

Member Typedef Documentation

template<class ct >
template<int mydim, int cdim>
typedef std::vector< FieldVector< ct, cdim > > Dune::MultiLinearGeometryTraits< ct >::CornerStorage< mydim, cdim >::Type

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