dune-pdelab 2.7-git
|
Create a local function space from a global function space. More...
#include <dune/pdelab/gridfunctionspace/localfunctionspace.hh>
Public Types | |
typedef BaseT::Traits | Traits |
Public Member Functions | |
LocalFunctionSpace (const GFS &gfs) | |
LocalFunctionSpace (const LocalFunctionSpace &lfs) | |
LocalIndex | localIndex (typename Traits::IndexContainer::size_type index) const |
Traits::IndexContainer::size_type | size () const |
number of degrees of freedom contained in this lfs node | |
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 | |
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 |
Create a local function space from a global function space.
The local function space can be tagged with one of the tags defined in localfunctionspacetags.hh. This allows to destinguish between trial and test space.
If no TAG is specified the AnySpaceTag is used, which basically states, that it is not clear, whether this is a trial of a test space.
typedef BaseT::Traits Dune::PDELab::LocalFunctionSpace< GFS, TAG >::Traits |
|
inline |
|
inline |
|
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.
|
inline |
|
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 |
number of degrees of freedom contained in this lfs node
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |