dune-localfunctions  2.2.1
Public Member Functions | Protected Attributes | List of all members
Dune::Pk2DLocalCoefficients< k > Class Template Reference

Layout map for P0 elements. More...

#include <dune/localfunctions/lagrange/pk2d/pk2dlocalcoefficients.hh>

Inheritance diagram for Dune::Pk2DLocalCoefficients< k >:
Dune::LocalCoefficientsVirtualImp< Imp > Dune::LocalCoefficientsVirtualInterface

Public Member Functions

 Pk2DLocalCoefficients ()
 Standard constructor. More...
 
 Pk2DLocalCoefficients (int variant)
 constructor for eight variants with order on edges flipped More...
 
template<class VertexMap >
 Pk2DLocalCoefficients (const VertexMap &vertexmap)
 
std::size_t size () const
 number of coefficients More...
 
const LocalKeylocalKey (std::size_t i) const
 get i'th index More...
 

Protected Attributes

const Imp & impl_
 

Detailed Description

template<unsigned int k>
class Dune::Pk2DLocalCoefficients< k >

Layout map for P0 elements.

Constructor & Destructor Documentation

template<unsigned int k>
Dune::Pk2DLocalCoefficients< k >::Pk2DLocalCoefficients ( )
inline

Standard constructor.

template<unsigned int k>
Dune::Pk2DLocalCoefficients< k >::Pk2DLocalCoefficients ( int  variant)
inline

constructor for eight variants with order on edges flipped

template<unsigned int k>
template<class VertexMap >
Dune::Pk2DLocalCoefficients< k >::Pk2DLocalCoefficients ( const VertexMap &  vertexmap)
inlineexplicit

Constructor for six variants with permuted vertices.

Parameters
vertexmapThe permutation of the vertices. This can for instance be generated from the global indices of the vertices by reducing those to the integers 0...2. This may be any object which for which the expression vertexmap[i] is defined apropriately (like an array, a pointer, a std::vector, or a random-access iterator.

Member Function Documentation

template<unsigned int k>
const LocalKey& Dune::Pk2DLocalCoefficients< k >::localKey ( std::size_t  i) const
inlinevirtual

get i'th index

Reimplemented from Dune::LocalCoefficientsVirtualImp< Imp >.

template<unsigned int k>
std::size_t Dune::Pk2DLocalCoefficients< k >::size ( ) const
inlinevirtual

number of coefficients

Reimplemented from Dune::LocalCoefficientsVirtualImp< Imp >.

Member Data Documentation

template<class Imp>
const Imp& Dune::LocalCoefficientsVirtualImp< Imp >::impl_
protectedinherited

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