Public Types | |
| typedef SimpleCSRMatrix< Arccore::Real > | SrcMatrix |
| typedef DoKMatrix | TgtMatrix |
| Public Types inherited from Alien::IMatrixConverter | |
| typedef Alien::IMatrixImpl | IMatrixImpl |
| Type of matrix implementation. | |
| typedef Alien::BackEndId | BackEndId |
| Type of matrix backend. | |
Public Member Functions | |
| BackEndId | sourceBackend () const override |
| Get the source backend id. | |
| BackEndId | targetBackend () const override |
| Get the target backend id. | |
| void | convert (const IMatrixImpl *sourceImpl, IMatrixImpl *targetImpl) const override |
| Convert a matrix from one format to another. | |
| Public Member Functions inherited from Alien::IMatrixConverter | |
| virtual | ~IMatrixConverter () |
| Free resources. | |
| Public Member Functions inherited from Alien::ObjectWithTrace | |
| template<typename T> | |
| void | alien_info (T &&t) const |
| template<typename T> | |
| void | alien_debug (T &&t) const |
| template<typename T> | |
| void | alien_warning (T &&t) const |
| template<typename T> | |
| void | alien_fatal (T &&t) const |
| ITraceMng * | traceMng () const |
Additional Inherited Members | |
| Static Public Member Functions inherited from Alien::IMatrixConverter | |
| template<typename T> | |
| static T & | cast (IMatrixImpl *impl, BackEndId backend) |
| Cast a matrix implementation in its actual type. | |
| template<typename T> | |
| static const T & | cast (const IMatrixImpl *impl, BackEndId backend) |
| Const cast a matrix implementation in its actual type. | |
| Protected Member Functions inherited from Alien::ObjectWithTrace | |
| TraceMessage | cout () const |
Definition at line 33 of file dok/converters/from_simple_csr_matrix.h.
| typedef SimpleCSRMatrix<Arccore::Real> Alien::SimpleCSRtoDoKMatrixConverter::SrcMatrix |
Definition at line 36 of file dok/converters/from_simple_csr_matrix.h.
| typedef DoKMatrix Alien::SimpleCSRtoDoKMatrixConverter::TgtMatrix |
Definition at line 37 of file dok/converters/from_simple_csr_matrix.h.
| Alien::SimpleCSRtoDoKMatrixConverter::SimpleCSRtoDoKMatrixConverter | ( | ) |
Definition at line 21 of file dok/converters/from_simple_csr_matrix.cc.
|
virtual |
Definition at line 23 of file dok/converters/from_simple_csr_matrix.cc.
|
overridevirtual |
Convert a matrix from one format to another.
| [in] | sourceImpl | Implementation of the source matrix |
| [in,out] | targetImpl | Implementation of the target matrix |
Implements Alien::IMatrixConverter.
Definition at line 37 of file dok/converters/from_simple_csr_matrix.cc.
References Alien::IMatrixImpl::block(), Alien::IMatrixConverter::cast(), sourceBackend(), and targetBackend().
|
overridevirtual |
Get the source backend id.
Implements Alien::IMatrixConverter.
Definition at line 26 of file dok/converters/from_simple_csr_matrix.cc.
Referenced by convert().
|
overridevirtual |
Get the target backend id.
Implements Alien::IMatrixConverter.
Definition at line 32 of file dok/converters/from_simple_csr_matrix.cc.
Referenced by convert().