Documentation 6b54b78464
Loading...
Searching...
No Matches
CSysMatrixVectorProduct< ScalarType > Class Template Referencefinal

Specialization of matrix-vector product that uses CSysMatrix class. More...

#include <CMatrixVectorProduct.hpp>

Inheritance diagram for CSysMatrixVectorProduct< ScalarType >:
[legend]

Public Member Functions

 CSysMatrixVectorProduct (const CSysMatrix< ScalarType > &matrix_ref, CGeometry *geometry_ref, const CConfig *config_ref)
 constructor of the class
 
 CSysMatrixVectorProduct ()=delete
 
void operator() (const CSysVector< ScalarType > &u, CSysVector< ScalarType > &v) const override
 operator that defines the CSysMatrix-CSysVector product
 
- Public Member Functions inherited from CMatrixVectorProduct< ScalarType >
virtual ~CMatrixVectorProduct ()=0
 

Detailed Description

template<class ScalarType>
class CSysMatrixVectorProduct< ScalarType >

Specialization of matrix-vector product that uses CSysMatrix class.

Constructor & Destructor Documentation

◆ CSysMatrixVectorProduct() [1/2]

template<class ScalarType >
CSysMatrixVectorProduct< ScalarType >::CSysMatrixVectorProduct ( const CSysMatrix< ScalarType > &  matrix_ref,
CGeometry *  geometry_ref,
const CConfig *  config_ref 
)
inline

constructor of the class

Parameters
[in]matrix_ref- matrix reference that will be used to define the products
[in]geometry_ref- geometry associated with the problem
[in]config_ref- config of the problem

◆ CSysMatrixVectorProduct() [2/2]

template<class ScalarType >
CSysMatrixVectorProduct< ScalarType >::CSysMatrixVectorProduct ( )
delete
Note
This class cannot be default constructed as that would leave us with invalid pointers.

Member Function Documentation

◆ operator()()

template<class ScalarType >
void CSysMatrixVectorProduct< ScalarType >::operator() ( const CSysVector< ScalarType > &  u,
CSysVector< ScalarType > &  v 
) const
inlineoverridevirtual

operator that defines the CSysMatrix-CSysVector product

Parameters
[in]u- CSysVector that is being multiplied by the sparse matrix
[out]v- CSysVector that is the result of the product

Implements CMatrixVectorProduct< ScalarType >.


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