dune-fem  2.4.1-rc
Public Types | Public Member Functions | Protected Member Functions | List of all members
Dune::Fem::DofAlignment< Implementation > Class Template Reference

Interface documentation for Dof alignment classes used in VectorialBasisFunctionSet. More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/basisfunctionset/vectorial.hh>

Inheritance diagram for Dune::Fem::DofAlignment< Implementation >:
Inheritance graph

Public Types

typedef std::size_t GlobalDofType
 global Dof type More...
 
typedef std::pair< int, std::size_t > LocalDofType
 local Dof type consists of coordinate number and Dof number in scalar basis function set More...
 

Public Member Functions

GlobalDofType globalDof (const LocalDofType &localDof) const
 map local to global Dof More...
 
LocalDofType localDof (const GlobalDofType &globalDof) const
 map global to local Dof More...
 

Protected Member Functions

 DofAlignment ()=default
 
const Implementation & impl () const
 

Detailed Description

template<class Implementation>
class Dune::Fem::DofAlignment< Implementation >

Interface documentation for Dof alignment classes used in VectorialBasisFunctionSet.

Note
This interface class is implemented by HorizontalDofAlignment and VerticalDofAlignment
Template Parameters
Implementationimplementation type (CRTP)

Member Typedef Documentation

template<class Implementation>
typedef std::size_t Dune::Fem::DofAlignment< Implementation >::GlobalDofType

global Dof type

template<class Implementation>
typedef std::pair< int, std::size_t > Dune::Fem::DofAlignment< Implementation >::LocalDofType

local Dof type consists of coordinate number and Dof number in scalar basis function set

Constructor & Destructor Documentation

template<class Implementation>
Dune::Fem::DofAlignment< Implementation >::DofAlignment ( )
protecteddefault

Member Function Documentation

template<class Implementation>
GlobalDofType Dune::Fem::DofAlignment< Implementation >::globalDof ( const LocalDofType localDof) const
inline

map local to global Dof

Note
methods localDof and globalDof must be inverse
Parameters
[in]localDoflocal Dof
Returns
global Dof

Referenced by Dune::Fem::VectorialBasisFunctionSet< ScalarBasisFunctionSet, Range, DofAlignment >::scalarBasisFunctionSet().

template<class Implementation>
const Implementation& Dune::Fem::DofAlignment< Implementation >::impl ( ) const
inlineprotected
template<class Implementation>
LocalDofType Dune::Fem::DofAlignment< Implementation >::localDof ( const GlobalDofType globalDof) const
inline

map global to local Dof

Note
methods localDof and globalDof must be inverse
Parameters
[in]globalDofglobal Dof
Returns
local Dof

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