Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::vf::BlocksBase< T > Struct Template Reference
+ Inheritance diagram for Feel::vf::BlocksBase< T >:
+ Collaboration diagram for Feel::vf::BlocksBase< T >:

Public Types

typedef T block_type
 
typedef uint16_type index_type
 

Public Member Functions

 BlocksBase (BlocksBase< T > &&b)=default
 
 BlocksBase (BlocksBase< T > const &b)=default
 
 BlocksBase (index_type nr, index_type nc)
 
 BlocksBase (index_type nr, index_type nc, block_type const &a)
 
std::vector< block_type > const & getSetOfBlocks () const
 
void merge (index_type c1, index_type c2, BlocksBase< T > const &b)
 
index_type nCol () const
 
index_type nRow () const
 
block_type & operator() (index_type c1, index_type c2=0)
 
block_type const & operator() (index_type c1, index_type c2=0) const
 
BlocksBase< T > operator<< (block_type const &m) const
 
BlocksBase & operator= (BlocksBase< T > &&b)=default
 
BlocksBase & operator= (BlocksBase< T > const &b)=default
 
void push_back (block_type const &m)
 
void reset ()
 
void resize (index_type nr, index_type nc=1)
 
index_type size () const
 
BlocksBase< T > subBlock (index_type x1r, index_type x1c, index_type x2r, index_type x2c) const
 
BlocksBase< T > transpose () const
 

Member Function Documentation

◆ size()

template<typename T >
index_type Feel::vf::BlocksBase< T >::size ( ) const
Returns
the number of entries in the block object