Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::ProductSpace< T, same_mesh > Class Template Reference
+ Inheritance diagram for Feel::ProductSpace< T, same_mesh >:
+ Collaboration diagram for Feel::ProductSpace< T, same_mesh >:

Public Types

using element_ptrtype = std::shared_ptr< element_type >
 
using element_type = Element
 
using feel_tag = product_space_tag
 
using functionspace_type = ProductSpace< T, same_mesh >
 
using mesh_ptrtype = typename underlying_functionspace_type::mesh_ptrtype
 
using mesh_type = typename underlying_functionspace_type::mesh_type
 
using super = std::vector< std::shared_ptr< decay_type< T > > >
 
using underlying_functionspace_ptrtype = std::shared_ptr< underlying_functionspace_type >
 
using underlying_functionspace_type = decay_type< T >
 
using value_type = typename underlying_functionspace_type::value_type
 
using worldcomm_type = WorldComm
 

Public Member Functions

Element element ()
 
std::shared_ptr< Element > elementPtr ()
 
bool hasIbcSpace () const
 
bool hasOtherThanIbcSpace () const
 
bool isIbcSpace (int i) const
 
mesh_ptrtype mesh () const
 
size_type nDof () const
 
size_type nLocalDof () const
 
int numberOfSpaces () const
 
underlying_functionspace_ptrtype & operator[] (int i)
 
underlying_functionspace_ptrtype const & operator[] (int i) const
 
 ProductSpace (int n, mesh_ptrtype m)
 construct a product of n identical spaces from mesh m
 
 ProductSpace (int n, underlying_functionspace_ptrtype X)
 construct a product of n identical spaces
 
 ProductSpace (std::vector< mesh_ptrtype > const &m)
 construct a product of n spaces from a vector of n different meshes
 
 ProductSpace (std::vector< underlying_functionspace_ptrtype > const &m)
 construct a product of n spaces from a vector of n different spaces of the same type
 
void setProperties (std::initializer_list< std::string > s)
 
void setProperties (std::vector< std::string > const &s)
 
worldcomm_type const & worldComm ()
 
worldcomm_type const & worldComm () const
 

Public Attributes

size_type M_nspaces
 
std::vector< std::string > M_props
 

Member Function Documentation

◆ nDof()

template<typename T , bool same_mesh = false>
size_type Feel::ProductSpace< T, same_mesh >::nDof ( ) const
Returns
the total number of degrees of freedom

◆ nLocalDof()

template<typename T , bool same_mesh = false>
size_type Feel::ProductSpace< T, same_mesh >::nLocalDof ( ) const
Returns
the number of degrees of freedom owned by the process

◆ numberOfSpaces()

template<typename T , bool same_mesh = false>
int Feel::ProductSpace< T, same_mesh >::numberOfSpaces ( ) const
Returns
the number of function spaces in the product