Skip to content
Snippets Groups Projects
Commit ecfc4c87 authored by Christian Engwer's avatar Christian Engwer
Browse files

[dynamic polymorphism] update overlappingschwarz.hh to the new interface

parent f7864cba
No related branches found
No related tags found
No related merge requests found
......@@ -795,11 +795,6 @@ namespace Dune
/** @brief The vector type containing subdomain solvers. */
typedef std::vector<slu, typename TA::template rebind<slu>::other> slu_vector;
enum {
//! \brief The category the precondtioner is part of.
category = SolverCategory::sequential
};
/**
* @brief Construct the overlapping Schwarz method.
* @param mat The matrix to precondition.
......@@ -861,6 +856,12 @@ namespace Dune
template<bool forward>
void apply(X& v, const X& d);
//! Category of the preconditioner (see SolverCategory::Category)
virtual SolverCategory::Category category() const
{
return SolverCategory::sequential;
}
private:
const M& mat;
slu_vector solvers;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment