HLIBpro  2.3.1
Public Member Functions | List of all members
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< real >

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 ()
const ansatzsp_t * ansatz_space () const
 return ansatz space
const testsp_t * test_space () const
 return test space
- Public Member Functions inherited from TBilinearForm< real >
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

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

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< real >.