dune-pdelab
2.0.0
|
base class for tuples of grid function spaces product of identical grid function spaces base class that holds implementation of the methods More...
#include <dune/pdelab/gridfunctionspace/powergridfunctionspace.hh>
Public Types | |
typedef PowerGridFunctionSpaceTag | ImplementationTag |
typedef TypeTree::PowerNode< T, k > | BaseT |
typedef ordering_transformation::Type | Ordering |
typedef ImplementationBase::Traits | Traits |
export traits class More... | |
typedef OrderingTag | OrderingTag |
typedef std::size_t | size_type |
Public Member Functions | |
PowerGridFunctionSpace (T &c, const Backend &backend=Backend(), const OrderingTag ordering_tag=OrderingTag()) | |
PowerGridFunctionSpace (T &c0, T &c1, const Backend &backend=Backend(), const OrderingTag ordering_tag=OrderingTag()) | |
PowerGridFunctionSpace (T &c0, T &c1, T &c2, const Backend &backend=Backend(), const OrderingTag ordering_tag=OrderingTag()) | |
PowerGridFunctionSpace (T &c0, T &c1, T &c2, T &c3, const Backend &backend=Backend(), const OrderingTag ordering_tag=OrderingTag()) | |
PowerGridFunctionSpace (T &c0, T &c1, T &c2, T &c3, T &c4, const Backend &backend=Backend(), const OrderingTag ordering_tag=OrderingTag()) | |
PowerGridFunctionSpace (T &c0, T &c1, T &c2, T &c3, T &c4, T &c5, const Backend &backend=Backend(), const OrderingTag ordering_tag=OrderingTag()) | |
PowerGridFunctionSpace (T &c0, T &c1, T &c2, T &c3, T &c4, T &c5, T &c6, const Backend &backend=Backend(), const OrderingTag ordering_tag=OrderingTag()) | |
PowerGridFunctionSpace (T &c0, T &c1, T &c2, T &c3, T &c4, T &c5, T &c6, T &c7, const Backend &backend=Backend(), const OrderingTag ordering_tag=OrderingTag()) | |
PowerGridFunctionSpace (T &c0, T &c1, T &c2, T &c3, T &c4, T &c5, T &c6, T &c7, T &c8, const Backend &backend=Backend(), const OrderingTag ordering_tag=OrderingTag()) | |
PowerGridFunctionSpace (T &c0, T &c1, T &c2, T &c3, T &c4, T &c5, T &c6, T &c7, T &c8, T &c9, const Backend &backend=Backend(), const OrderingTag ordering_tag=OrderingTag()) | |
template<typename... Children> | |
PowerGridFunctionSpace (shared_ptr< Children >...children) | |
const Ordering & | ordering () const |
Direct access to the DOF ordering. More... | |
Ordering & | ordering () |
Direct access to the DOF ordering. More... | |
shared_ptr< const Ordering > | orderingStorage () const |
Direct access to the storage of the DOF ordering. More... | |
shared_ptr< Ordering > | orderingStorage () |
Direct access to the storage of the DOF ordering. More... | |
const Traits::GridViewType & | gridView () const |
get grid view More... | |
Traits::SizeType | size () const |
Traits::SizeType | blockCount () const |
Traits::SizeType | globalSize () const |
Traits::SizeType | maxLocalSize () const |
get max dimension of shape function space More... | |
bool | containsPartition (PartitionType partition) const |
Returns whether this GridFunctionSpace contains entities with PartitionType partition. More... | |
void | update () |
const std::string & | name () const |
void | name (const std::string &name) |
Traits::Backend & | backend () |
const Traits::Backend & | backend () const |
Traits::OrderingTag & | orderingTag () |
const Traits::OrderingTag & | orderingTag () const |
bool | isRootSpace () const |
bool | dataHandleContains (int codim) const |
returns true if data for this codim should be communicated More... | |
bool | dataHandleFixedSize (int codim) const |
returns true if size per entity of given dim and codim is a constant More... | |
DUNE_CONSTEXPR bool | sendLeafSizes () const |
Returns true if the sizes of the leaf orderings in this tree should be sent as part of the communcation. More... | |
size_type | dataHandleSize (const Entity &e) const |
void | setup_dof_indices (V &v, size_type n, const EntityIndex &ei, std::integral_constant< bool, true >) const |
void | setup_dof_indices (V &v, size_type n, const EntityIndex &ei, std::integral_constant< bool, false >) const |
V::iterator | dof_indices_begin (V &v, std::integral_constant< bool, true >) const |
DummyDOFIndexIterator | dof_indices_begin (V &v, std::integral_constant< bool, false >) const |
void | dataHandleIndices (const Entity &e, std::vector< ContainerIndex > &container_indices, std::vector< DOFIndex > &dof_indices, OffsetIterator oit, std::integral_constant< bool, map_dof_indices > map_dof_indices_value) const |
return vector of global indices associated with the given entity More... | |
Protected Member Functions | |
void | update (Ordering &ordering) const |
const PowerGridFunctionSpace < T, k, Backend, OrderingTag > & | gfs () const |
Friends | |
class | PowerCompositeGridFunctionSpaceBase< PowerGridFunctionSpace, typename T::Traits::GridViewType, Backend, OrderingTag, k > |
template<typename , typename > | |
class | GridFunctionSpaceBase |
base class for tuples of grid function spaces product of identical grid function spaces base class that holds implementation of the methods
PGFS(T,k) = {T}^k
T | the underlying are all grid function spaces |
k | power factor |
Mapper | is the ordering parameter. Use e.g. GridFunctionSpaceLexicographicMapper or GridFunctionSpaceComponentBlockwiseMapper or GridFunctionSpaceBlockwiseMapper or GridFunctionSpaceDynamicBlockwiseMapper |
typedef TypeTree::PowerNode<T,k> Dune::PDELab::PowerGridFunctionSpace< T, k, Backend, OrderingTag >::BaseT |
typedef PowerGridFunctionSpaceTag Dune::PDELab::PowerGridFunctionSpace< T, k, Backend, OrderingTag >::ImplementationTag |
typedef ordering_transformation::Type Dune::PDELab::PowerGridFunctionSpace< T, k, Backend, OrderingTag >::Ordering |
|
inherited |
|
inherited |
typedef ImplementationBase::Traits Dune::PDELab::PowerGridFunctionSpace< T, k, Backend, OrderingTag >::Traits |
export traits class
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Returns whether this GridFunctionSpace contains entities with PartitionType partition.
|
inlineinherited |
returns true if data for this codim should be communicated
References Dune::PDELab::DataHandleProvider< GFS >::gfs().
|
inlineinherited |
returns true if size per entity of given dim and codim is a constant
References Dune::PDELab::DataHandleProvider< GFS >::gfs().
|
inlineinherited |
return vector of global indices associated with the given entity
References Dune::PDELab::DataHandleProvider< GFS >::dof_indices_begin(), Dune::PDELab::DataHandleProvider< GFS >::gfs(), Dune::PDELab::DataHandleProvider< GFS >::setup_dof_indices(), and value.
|
inlineinherited |
how many objects of type DataType have to be sent for a given entity
Note: Only the sender side needs to know this size.
References Dune::PDELab::DataHandleProvider< GFS >::gfs().
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
get grid view
|
inlineinherited |
|
inlineinherited |
get max dimension of shape function space
|
inlineinherited |
|
inlineinherited |
|
inline |
Direct access to the DOF ordering.
References Dune::PDELab::GridFunctionSpaceBase< PowerGridFunctionSpace< T, k, Backend, OrderingTag >, PowerCompositeGridFunctionSpaceTraits< T::Traits::GridViewType, Backend, OrderingTag, k > >::isRootSpace(), and Dune::PDELab::GridFunctionSpaceBase< PowerGridFunctionSpace< T, k, Backend, OrderingTag >, PowerCompositeGridFunctionSpaceTraits< T::Traits::GridViewType, Backend, OrderingTag, k > >::update().
|
inline |
Direct access to the DOF ordering.
References Dune::PDELab::GridFunctionSpaceBase< PowerGridFunctionSpace< T, k, Backend, OrderingTag >, PowerCompositeGridFunctionSpaceTraits< T::Traits::GridViewType, Backend, OrderingTag, k > >::isRootSpace(), and Dune::PDELab::GridFunctionSpaceBase< PowerGridFunctionSpace< T, k, Backend, OrderingTag >, PowerCompositeGridFunctionSpaceTraits< T::Traits::GridViewType, Backend, OrderingTag, k > >::update().
|
inline |
Direct access to the storage of the DOF ordering.
References Dune::PDELab::GridFunctionSpaceBase< PowerGridFunctionSpace< T, k, Backend, OrderingTag >, PowerCompositeGridFunctionSpaceTraits< T::Traits::GridViewType, Backend, OrderingTag, k > >::isRootSpace(), and Dune::PDELab::GridFunctionSpaceBase< PowerGridFunctionSpace< T, k, Backend, OrderingTag >, PowerCompositeGridFunctionSpaceTraits< T::Traits::GridViewType, Backend, OrderingTag, k > >::update().
|
inline |
Direct access to the storage of the DOF ordering.
References Dune::PDELab::GridFunctionSpaceBase< PowerGridFunctionSpace< T, k, Backend, OrderingTag >, PowerCompositeGridFunctionSpaceTraits< T::Traits::GridViewType, Backend, OrderingTag, k > >::isRootSpace(), and Dune::PDELab::GridFunctionSpaceBase< PowerGridFunctionSpace< T, k, Backend, OrderingTag >, PowerCompositeGridFunctionSpaceTraits< T::Traits::GridViewType, Backend, OrderingTag, k > >::update().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Returns true if the sizes of the leaf orderings in this tree should be sent as part of the communcation.
The MultiDomain extensions require knowledge about the size of the individual orderings, which might belong to separate subdomains. Otherwise it is possible to have size mismatches for entities with codim > 0 if there are protruding edges in the parallel mesh partitioning.
By default, this method will always return false. It must be overridden for cases where the data actually needs to be sent.
This flag also modifies the behavior of the generic data handles, which will automatically send, receive and process the additional information. Note that if sendLeafSizes() returns true, the underlying DataHandleIF of the grid will always use the data type char to be able to send different types of data, which will automatically be marshalled to / from a byte stream.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
friend |
|
friend |