dune-pdelab
2.4-dev
|
single component local function space More...
#include <dune/pdelab/gridfunctionspace/localfunctionspace.hh>
Public Types | |
typedef LeafLocalFunctionSpaceTraits< GFS, DOFIndex, LeafLocalFunctionSpaceNode > | Traits |
typedef LeafLocalFunctionSpaceTag | ImplementationTag |
Public Member Functions | |
template<typename Transformation > | |
LeafLocalFunctionSpaceNode (std::shared_ptr< const GFS > gfs, const Transformation &t) | |
initialize with grid function space More... | |
template<typename Transformation > | |
LeafLocalFunctionSpaceNode (const GFS &gfs, const Transformation &t) | |
const Traits::FiniteElementType & | finiteElement () const |
get finite element More... | |
const Traits::ConstraintsType & | constraints () const |
get constraints engine More... | |
template<typename Entity , typename DOFIndexIterator > | |
void | dofIndices (const Entity &e, DOFIndexIterator it, DOFIndexIterator endit) |
Calculates the multiindices associated with the given entity. More... | |
template<typename GC , typename LC > | |
void | insert_constraints (const LC &lc, GC &gc) const |
void | bind (const typename Traits::Element &e) |
bind local function space to entity More... | |
template<typename NodeType > | |
void | bind (NodeType &node, const typename GridViewLocalFunctionSpaceBaseNode< GFS, DOFIndex >::Traits::Element &e) |
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 | |
FESwitch::Store | pfe |
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 > | |
void | bind (NodeType &node, const typename Traits::Element &e) |
bind local function space to entity More... | |
single component local function space
typedef LeafLocalFunctionSpaceTag Dune::PDELab::LeafLocalFunctionSpaceNode< GFS, DOFIndex >::ImplementationTag |
typedef LeafLocalFunctionSpaceTraits<GFS,DOFIndex,LeafLocalFunctionSpaceNode> Dune::PDELab::LeafLocalFunctionSpaceNode< GFS, DOFIndex >::Traits |
|
inline |
initialize with grid function space
|
inline |
|
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 |
Referenced by Dune::PDELab::PowerLocalFunctionSpaceNode< GFS, DOFIndex, ChildLFS, k >::bind(), Dune::PDELab::CompositeLocalFunctionSpaceNode< GFS, DOFIndex, Children >::bind(), and Dune::PDELab::LeafLocalFunctionSpaceNode< GFS, DOFIndex >::bind().
|
inline |
bind local function space to entity
References Dune::PDELab::GridViewLocalFunctionSpaceBaseNode< GFS, DOFIndex >::bind().
|
inline |
get constraints engine
References Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::pgfs.
|
inlineinherited |
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.
|
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 |
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 |
Calculates the multiindices associated with the given entity.
References Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::gridFunctionSpace(), and Dune::PDELab::LeafLocalFunctionSpaceNode< GFS, DOFIndex >::pfe.
|
inline |
get finite element
References Dune::PDELab::LeafLocalFunctionSpaceNode< GFS, DOFIndex >::pfe.
|
inlineinherited |
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 |
|
inlineinherited |
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().
|
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()[
References Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::_dof_indices.
|
inlineinherited |
get maximum possible size (which is maxLocalSize from grid function space)
References Dune::PDELab::LocalFunctionSpaceBaseNode< GFS, DOFIndex >::_dof_indices.
|
inlineinherited |
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().
|
inlineinherited |
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().
|
inlineinherited |
|
inherited |
|
inherited |
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().
|
inherited |
|
inherited |
FESwitch::Store Dune::PDELab::LeafLocalFunctionSpaceNode< GFS, DOFIndex >::pfe |
|
inherited |