Replies: 1 comment
-
We dont have an explicit example yet, but the setup is similar to the For example, to use the direct solver with a LU factorization, using solver_type =
gko::experimental::solver::Direct<value_type, index_type>;
using factorization_type =
gko::experimental::factorization::Lu<value_type, index_type>;
auto solver_gen =
solver_type::build()
.with_factorization(
factorization_type::build().with_symbolic_algorithm(
gko::experimental::factorization::symbolic_type::general))
.with_num_rhs(static_cast<gko::size_type>(nrhs))
.on(exec); The rest of the process is same as that in the simple-solver example. You generate it on the matrix you need, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I see that you have an experimental direct solver too /solver/direct.cpp. Is there a sample code that you could share with me that uses your direct solver? Thank you
Beta Was this translation helpful? Give feedback.
All reactions