Discontinuous Galerkin Library
#include "dg/algorithm.h"
dg::Composite< Matrix > Struct Template Reference

Public Member Functions

 Composite ()
 
template<class Matrix2 >
 Composite (const Composite< Matrix2 > &src)
 
 Composite (const Matrix &m)
 
 Composite (const Matrix &m1, const Matrix &m2)
 
template<class Matrix2 >
Compositeoperator= (const Composite< Matrix2 > &src)
 
template<class ContainerType1 , class ContainerType2 >
void symv (const ContainerType1 &v1, ContainerType2 &v2) const
 
template<class ContainerType >
void symv (get_value_type< ContainerType > alpha, const ContainerType &v1, get_value_type< ContainerType > beta, ContainerType &v2) const
 
void display (std::ostream &os=std::cout) const
 

Public Attributes

Matrix m1
 
Matrix m2
 
bool dual
 

Constructor & Destructor Documentation

◆ Composite() [1/4]

template<class Matrix >
dg::Composite< Matrix >::Composite ( )
inline

◆ Composite() [2/4]

template<class Matrix >
template<class Matrix2 >
dg::Composite< Matrix >::Composite ( const Composite< Matrix2 > &  src)
inline

◆ Composite() [3/4]

template<class Matrix >
dg::Composite< Matrix >::Composite ( const Matrix &  m)
inline

◆ Composite() [4/4]

template<class Matrix >
dg::Composite< Matrix >::Composite ( const Matrix &  m1,
const Matrix &  m2 
)
inline

Member Function Documentation

◆ display()

template<class Matrix >
void dg::Composite< Matrix >::display ( std::ostream &  os = std::cout) const
inline

◆ operator=()

template<class Matrix >
template<class Matrix2 >
Composite & dg::Composite< Matrix >::operator= ( const Composite< Matrix2 > &  src)
inline

◆ symv() [1/2]

template<class Matrix >
template<class ContainerType1 , class ContainerType2 >
void dg::Composite< Matrix >::symv ( const ContainerType1 &  v1,
ContainerType2 &  v2 
) const
inline

◆ symv() [2/2]

template<class Matrix >
template<class ContainerType >
void dg::Composite< Matrix >::symv ( get_value_type< ContainerType >  alpha,
const ContainerType &  v1,
get_value_type< ContainerType >  beta,
ContainerType &  v2 
) const
inline

Member Data Documentation

◆ dual

template<class Matrix >
bool dg::Composite< Matrix >::dual

◆ m1

template<class Matrix >
Matrix dg::Composite< Matrix >::m1

◆ m2

template<class Matrix >
Matrix dg::Composite< Matrix >::m2

The documentation for this struct was generated from the following file: