Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::ProductSpaces< SpaceList > Class Template Reference
+ Inheritance diagram for Feel::ProductSpaces< SpaceList >:
+ Collaboration diagram for Feel::ProductSpaces< SpaceList >:

Public Types

using element_ptrtype = std::shared_ptr< element_type >
 
using element_type = Element
 
using functionspace_type = ProductSpaces< SpaceList... >
 
using tuple_spaces_type = hana::tuple< SpaceList... >
 
using value_type = double
 

Public Member Functions

Element element ()
 
size_type nDof () const
 
size_type nLocalDof () const
 
constexpr int numberOfSpaces () const
 
template<typename N >
decltype(auto) operator[] (N const &n1)
 
template<typename N >
decltype(auto) operator[] (N const &n1) const
 
 ProductSpaces (SpaceList... l)
 
tuple_spaces_type & tupleSpaces ()
 
tuple_spaces_type const & tupleSpaces () const
 

Member Function Documentation

◆ nDof()

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

◆ nLocalDof()

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