HLIBpro  2.9.1
TMassBF< T_ansatzsp, T_testsp > Class Template Reference

bilinear form for mass matrix

#include <TMassBF.hh>

Inheritance diagram for TMassBF< T_ansatzsp, T_testsp >:
TBEMBF< T_ansatzsp, T_testsp, real > TBilinearForm< T_val >

Public Member Functions

matform_t format () const
 return format of bilinear form, e.g. symmetric
 
virtual void eval (const std::vector< idx_t > &row_ind, const std::vector< idx_t > &col_ind, BLAS::Matrix< value_t > &values) const
 
- Public Member Functions inherited from TBEMBF< T_ansatzsp, T_testsp, real >
 TBEMBF (const ansatzsp_t *aansatzsp, const testsp_t *atestsp)
 construct bilinear form over function spaces ansatzsp and testsp
 
virtual ~TBEMBF ()
 destructor
 
const ansatzsp_t * ansatz_space () const
 return ansatz space
 
const testsp_t * test_space () const
 return test space
 
- Public Member Functions inherited from TBilinearForm< T_val >
bool is_complex () const
 return true if bilinear form is complex valued
 

Additional Inherited Members

- Protected Attributes inherited from TBEMBF< T_ansatzsp, T_testsp, real >
const ansatzsp_t * _ansatz_sp
 function space for ansatz functions
 
const testsp_t * _test_sp
 function space for test functions
 

Member Function Documentation

◆ eval()

virtual void eval ( const std::vector< idx_t > &  row_ind,
const std::vector< idx_t > &  col_ind,
BLAS::Matrix< value_t > &  values 
) const
virtual

evaluate subblock defined by row_ind × col_ind; the indices in row_ind and col_ind can be arbitrary, e.g. must not be contiguous

Implements TBilinearForm< T_val >.