Skip to content

Commit

Permalink
add get_local_solver in schwarz
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmtsai committed Aug 21, 2024
1 parent 00f1c9f commit 5b91a3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/ginkgo/core/distributed/preconditioner/schwarz.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ class Schwarz
GKO_ENABLE_LIN_OP_FACTORY(Schwarz, parameters, Factory);
GKO_ENABLE_BUILD_METHOD(Factory);

std::shared_ptr<const LinOp> get_local_solver() const
{
return local_solver_;
}

protected:
/**
* Creates an empty Schwarz preconditioner.
Expand Down

0 comments on commit 5b91a3a

Please sign in to comment.