Ginkgo
Generated from pipelines/1556235455 branch based on develop. Ginkgo version 1.9.0
A numerical linear algebra library targeting many-core architectures
|
A LinOp deriving from this CRTP class stores a system matrix. More...
#include <ginkgo/core/solver/solver_base.hpp>
Public Member Functions | |
EnableSolverBase & | operator= (const EnableSolverBase &other) |
Creates a shallow copy of the provided system matrix, clones it onto this executor if executors don't match. | |
EnableSolverBase & | operator= (EnableSolverBase &&other) |
Moves the provided system matrix, clones it onto this executor if executors don't match. More... | |
EnableSolverBase (std::shared_ptr< const MatrixType > system_matrix) | |
EnableSolverBase (const EnableSolverBase &other) | |
Creates a shallow copy of the provided system matrix. | |
EnableSolverBase (EnableSolverBase &&other) | |
Moves the provided system matrix. More... | |
int | get_num_workspace_ops () const override |
std::vector< std::string > | get_workspace_op_names () const override |
std::vector< int > | get_workspace_scalars () const override |
Returns the IDs of all scalars (workspace vectors with system dimension-independent size, usually 1 x num_rhs). | |
std::vector< int > | get_workspace_vectors () const override |
Returns the IDs of all vectors (workspace vectors with system dimension-dependent size, usually system_matrix_size x num_rhs). | |
Public Member Functions inherited from gko::solver::SolverBase< MatrixType > | |
std::shared_ptr< const MatrixType > | get_system_matrix () const |
Returns the system matrix, with its concrete type, used by the solver. More... | |
A LinOp deriving from this CRTP class stores a system matrix.
DerivedType | the CRTP type that derives from this |
MatrixType | the concrete matrix type to be stored as system_matrix |
|
inline |
Moves the provided system matrix.
The moved-from object has a nullptr system matrix.
|
inline |
Moves the provided system matrix, clones it onto this executor if executors don't match.
The moved-from object has a nullptr system matrix.