Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::ProductSpaces2< T, SpaceList > Class Template Reference

class mixing dynamic and compile-time space product More...

+ Inheritance diagram for Feel::ProductSpaces2< T, SpaceList >:
+ Collaboration diagram for Feel::ProductSpaces2< T, SpaceList >:

Classes

class  Element
 

Public Types

using element_ptrtype = std::shared_ptr< element_type >
 
using element_type = Element
 
using functionspace_type = ProductSpaces2< T, SpaceList... >
 
using mesh_ptrtype = typename decay_type< T >::mesh_ptrtype
 
using mesh_type = typename decay_type< T >::mesh_type
 
using tuple_spaces_type = typename mpl::if_< mpl::is_void_< T >, mpl::identity< hana::tuple< SpaceList... > >, mpl::identity< hana::tuple< SpaceList..., std::shared_ptr< ProductSpace< T, true > > > > >::type::type
 
using value_type = double
 

Public Member Functions

Element element ()
 
std::shared_ptr< Element > elementPtr ()
 
size_type nDof () const
 
size_type nLocalDof () const
 
int numberOfSpaces () const
 
template<typename N >
decltype(auto) operator[] (N const &n1)
 
template<typename N >
decltype(auto) operator[] (N const &n1) const
 
 ProductSpaces2 (std::shared_ptr< ProductSpace< T, true > > const &p, SpaceList... l)
 
tuple_spaces_type & tupleSpaces ()
 
tuple_spaces_type const & tupleSpaces () const
 

Detailed Description

template<typename T, typename... SpaceList>
class Feel::ProductSpaces2< T, SpaceList >

class mixing dynamic and compile-time space product

Member Function Documentation

◆ nDof()

template<typename T , typename... SpaceList>
size_type Feel::ProductSpaces2< T, SpaceList >::nDof ( ) const
Returns
the total number of degrees of freedom

◆ nLocalDof()

template<typename T , typename... SpaceList>
size_type Feel::ProductSpaces2< T, SpaceList >::nLocalDof ( ) const
Returns
the number of degrees of freedom owned by the process