dune-pdelab
2.4-dev
|
#include <dune/pdelab/gridfunctionspace/localfunctionspace.hh>
Public Types | |
typedef LocalFunctionSpaceBaseTraits< GFS, DOFIndex > | Traits |
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::DOFIndex & | dofIndex (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 |
typedef LocalFunctionSpaceBaseTraits<GFS,DOFIndex> Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::Traits |
|
inline |
construct from global function space
|
inline |
print debug information about this local function space
References Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::_dof_indices, Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::localIndex(), and Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::n.
|
inline |
Maps given index in this local function space to its corresponding global MultiIndex.
index | The local index value from the range 0,...,size()-1 |
References Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::_dof_indices, and Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::offset.
Referenced by Dune::PDELab::LeafLocalFunctionSpaceNode< GFS, DOFIndex >::insert_constraints().
|
inline |
Returns the GridFunctionSpace underlying this LocalFunctionSpace.
References Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::pgfs.
Referenced by Dune::PDELab::LeafLocalFunctionSpaceNode< GFS, DOFIndex >::dofIndices(), Dune::PDELab::backup_visitor< GFS, DOFVector, TransferMap >::operator()(), Dune::PDELab::replay_visitor< GFS, DOFVector, CountVector >::operator()(), and Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::setup().
|
inline |
map index in this local function space to root local function space
References Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::offset.
Referenced by Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::debug().
|
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()[
References Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::_dof_indices.
|
inline |
get maximum possible size (which is maxLocalSize from grid function space)
References Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::_dof_indices.
|
inline |
References Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::_dof_index_storage, and Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::gridFunctionSpace().
Referenced by Dune::PDELab::LocalFunctionSpace< CGGFS, TrialSpaceTag >::LocalFunctionSpace(), and Dune::PDELab::LocalFunctionSpace< GFS, AnySpaceTag >::LocalFunctionSpace().
|
inline |
get current size
References Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::n.
Referenced by DarcyVelocityFromHeadFEM< P, T, X >::evaluate(), Dune::PDELab::DiscreteGridFunctionCurl< T, X >::evaluate(), Dune::PDELab::DiscreteGridFunctionGradient< T, X >::evaluate(), Dune::PDELab::backup_visitor< GFS, DOFVector, TransferMap >::operator()(), and Dune::PDELab::LeafOffsetCache< GFSU >::update().
|
inline |
Traits::DOFIndexContainer Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::_dof_index_storage |
Traits::DOFIndexContainer* Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::_dof_indices |
Referenced by Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::debug(), Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::dofIndex(), Dune::PDELab::LocalFunctionSpace< CGGFS, TrialSpaceTag >::LocalFunctionSpace(), Dune::PDELab::LocalFunctionSpace< GFS, AnySpaceTag >::LocalFunctionSpace(), Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::localVectorSize(), and Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::maxSize().
Traits::IndexContainer::size_type Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::n |
Traits::IndexContainer::size_type Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::offset |
std::shared_ptr<GFS const> Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::pgfs |