#include <amgcl_csr_conversion_utilities.h>
|
template<class TDataType , class TIndexType > |
static Kratos::shared_ptr< typename amgcl::backend::builtin< TDataType >::matrix > | ConvertToAmgcl (const CsrMatrix< TDataType, TIndexType > &rA) |
|
template<class TDataType , class TIndexType > |
static CsrMatrix< TDataType, TIndexType >::UniquePointer | ConvertToCsrMatrix (typename amgcl::backend::builtin< TDataType >::matrix &rA) |
|
template<class TDataType , class TIndexType > |
static CsrMatrix< TDataType, TIndexType >::Pointer | Transpose (CsrMatrix< TDataType, TIndexType > &rA) |
|
Utilities to convert the distributed_csr matrix to an AMGCL matrix
◆ ConvertToAmgcl()
template<class TDataType , class TIndexType >
static Kratos::shared_ptr<typename amgcl::backend::builtin<TDataType>::matrix > Kratos::AmgclCSRConversionUtilities::ConvertToAmgcl |
( |
const CsrMatrix< TDataType, TIndexType > & |
rA | ) |
|
|
inlinestatic |
This function returns a shared pointer to an Amgcl distributed_matrix
◆ ConvertToCsrMatrix()
template<class TDataType , class TIndexType >
static CsrMatrix<TDataType, TIndexType>::UniquePointer Kratos::AmgclCSRConversionUtilities::ConvertToCsrMatrix |
( |
typename amgcl::backend::builtin< TDataType >::matrix & |
rA | ) |
|
|
inlinestatic |
◆ Transpose()
template<class TDataType , class TIndexType >
static CsrMatrix<TDataType, TIndexType>::Pointer Kratos::AmgclCSRConversionUtilities::Transpose |
( |
CsrMatrix< TDataType, TIndexType > & |
rA | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: