dune-pdelab 2.7-git
|
#include <dune/pdelab/gridfunctionspace/localfunctionspace.hh>
Public Types | |
typedef PowerCompositeLocalFunctionSpaceTraits< GFS, DOFIndex, CompositeLocalFunctionSpaceNode > | Traits |
typedef CompositeLocalFunctionSpaceTag | ImplementationTag |
Public Member Functions | |
template<typename Transformation > | |
CompositeLocalFunctionSpaceNode (std::shared_ptr< const GFS > gfs, const Transformation &t, std::shared_ptr< Children >... children) | |
template<typename Transformation > | |
CompositeLocalFunctionSpaceNode (const GFS &gfs, const Transformation &t, std::shared_ptr< Children >... children) | |
template<bool fast = false> | |
void | bind (const typename Traits::Element &e, std::integral_constant< bool, fast > fast_=std::integral_constant< bool, fast >{}) |
bind local function space to entity | |
template<typename NodeType , bool fast> | |
void | bind (NodeType &node, const typename GridViewLocalFunctionSpaceBaseNode< GFS, DOFIndex >::Traits::Element &e, std::integral_constant< bool, fast >) |
Traits::IndexContainer::size_type | size () const |
get current size | |
std::size_t | subSpaceDepth () const |
Traits::IndexContainer::size_type | maxSize () const |
get maximum possible size (which is maxLocalSize from grid function space) | |
Traits::IndexContainer::size_type | localVectorSize () const |
get size of an appropriate local vector object | |
Traits::IndexContainer::size_type | localIndex (typename Traits::IndexContainer::size_type index) const |
map index in this local function space to root local function space | |
const Traits::DOFIndex & | dofIndex (typename Traits::IndexContainer::size_type index) const |
Maps given index in this local function space to its corresponding global MultiIndex. | |
void | debug () const |
print debug information about this local function space | |
const GFS & | gridFunctionSpace () const |
Returns the GridFunctionSpace underlying this LocalFunctionSpace. | |
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 |
Protected Member Functions | |
template<typename NodeType , bool fast = false> | |
void | bind (NodeType &node, const typename Traits::Element &e, std::integral_constant< bool, fast >=std::integral_constant< bool, fast >{}) |
bind local function space to entity | |
typedef CompositeLocalFunctionSpaceTag Dune::PDELab::CompositeLocalFunctionSpaceNode< GFS, DOFIndex, Children >::ImplementationTag |
typedef PowerCompositeLocalFunctionSpaceTraits<GFS,DOFIndex,CompositeLocalFunctionSpaceNode> Dune::PDELab::CompositeLocalFunctionSpaceNode< GFS, DOFIndex, Children >::Traits |
|
inline |
|
inline |
|
inline |
bind local function space to entity
|
protectedinherited |
bind local function space to entity
This is a generic implementation of the bind function. It is parametrized with the NodeType, which the type of the derived LocalFunctionSpaceNode. Handing the NodeType as a parammeter avoid the need for the CRTP construct, but all derived classes have to add a method bind, which forward to this method.
node | reference to the derived node, the address must be the same as this |
e | entity to bind to |
|
inlineinherited |
print debug information about this local function space
|
inlineinherited |
Maps given index in this local function space to its corresponding global MultiIndex.
index | The local index value from the range 0,...,size()-1 |
|
inlineinherited |
Returns the GridFunctionSpace underlying this LocalFunctionSpace.
|
inlineinherited |
map index in this local function space to root local function space
|
inlineinherited |
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()[
|
inlineinherited |
get maximum possible size (which is maxLocalSize from grid function space)
|
inlineinherited |
|
inlineinherited |
get current size
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |