dune-pdelab  2.7-git
Public Types | Public Member Functions | Public Attributes | List of all members
Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex > Class Template Reference

#include <dune/pdelab/gridfunctionspace/localfunctionspace.hh>

Inheritance diagram for Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >:
Inheritance graph

Public Types

typedef LocalFunctionSpaceBaseTraits< GFS, DOFIndexTraits
 

Public Member Functions

 LocalFunctionSpaceBaseNode (std::shared_ptr< const GFS > gfs)
 construct from global function space More...
 
Traits::IndexContainer::size_type size () const
 get current size More...
 
std::size_t subSpaceDepth () const
 
Traits::IndexContainer::size_type maxSize () const
 get maximum possible size (which is maxLocalSize from grid function space) More...
 
Traits::IndexContainer::size_type localVectorSize () const
 get size of an appropriate local vector object More...
 
Traits::IndexContainer::size_type localIndex (typename Traits::IndexContainer::size_type index) const
 map index in this local function space to root local function space More...
 
const Traits::DOFIndexdofIndex (typename Traits::IndexContainer::size_type index) const
 Maps given index in this local function space to its corresponding global MultiIndex. More...
 
void debug () const
 print debug information about this local function space More...
 
const GFS & gridFunctionSpace () const
 Returns the GridFunctionSpace underlying this LocalFunctionSpace. More...
 
template<typename NodeType >
void setup (NodeType &node)
 

Public Attributes

std::shared_ptr< GFS const > pgfs
 
Traits::DOFIndexContainer _dof_index_storage
 
Traits::DOFIndexContainer_dof_indices
 
Traits::IndexContainer::size_type n
 
Traits::IndexContainer::size_type offset
 

Member Typedef Documentation

◆ Traits

template<typename GFS , typename DOFIndex >
typedef LocalFunctionSpaceBaseTraits<GFS,DOFIndex> Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::Traits

Constructor & Destructor Documentation

◆ LocalFunctionSpaceBaseNode()

template<typename GFS , typename DOFIndex >
Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::LocalFunctionSpaceBaseNode ( std::shared_ptr< const GFS >  gfs)
inline

construct from global function space

Member Function Documentation

◆ debug()

template<typename GFS , typename DOFIndex >
void Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::debug ( ) const
inline

print debug information about this local function space

◆ dofIndex()

template<typename GFS , typename DOFIndex >
const Traits::DOFIndex& Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::dofIndex ( typename Traits::IndexContainer::size_type  index) const
inline

Maps given index in this local function space to its corresponding global MultiIndex.

Parameters
indexThe local index value from the range 0,...,size()-1
Returns
A const reference to the associated, globally unique MultiIndex. Note that the returned object may (and must) be copied if it needs to be stored beyond the time of the next call to bind() on this LocalFunctionSpace (e.g. when the MultiIndex is used as a DOF identifier in a constraints container).

◆ gridFunctionSpace()

template<typename GFS , typename DOFIndex >
const GFS& Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::gridFunctionSpace ( ) const
inline

Returns the GridFunctionSpace underlying this LocalFunctionSpace.

◆ localIndex()

template<typename GFS , typename DOFIndex >
Traits::IndexContainer::size_type Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::localIndex ( typename Traits::IndexContainer::size_type  index) const
inline

map index in this local function space to root local function space

◆ localVectorSize()

template<typename GFS , typename DOFIndex >
Traits::IndexContainer::size_type Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::localVectorSize ( ) const
inline

get size of an appropriate local vector object

this is the number of dofs of the complete local function space tree, i.e. the size() of the root node. The local vector objects must always have this size and the localIndex method maps into the range [0,localVectorSize()[

◆ maxSize()

template<typename GFS , typename DOFIndex >
Traits::IndexContainer::size_type Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::maxSize ( ) const
inline

get maximum possible size (which is maxLocalSize from grid function space)

◆ setup()

template<typename GFS , typename DOFIndex >
template<typename NodeType >
void Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::setup ( NodeType &  node)
inline

◆ size()

template<typename GFS , typename DOFIndex >
Traits::IndexContainer::size_type Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::size ( ) const
inline

get current size

◆ subSpaceDepth()

template<typename GFS , typename DOFIndex >
std::size_t Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::subSpaceDepth ( ) const
inline

Member Data Documentation

◆ _dof_index_storage

template<typename GFS , typename DOFIndex >
Traits::DOFIndexContainer Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::_dof_index_storage

◆ _dof_indices

template<typename GFS , typename DOFIndex >
Traits::DOFIndexContainer* Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::_dof_indices

◆ n

template<typename GFS , typename DOFIndex >
Traits::IndexContainer::size_type Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::n

◆ offset

template<typename GFS , typename DOFIndex >
Traits::IndexContainer::size_type Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::offset

◆ pgfs

template<typename GFS , typename DOFIndex >
std::shared_ptr<GFS const> Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::pgfs

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