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

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

parent 7f163651
No related branches found
No related tags found
1 merge request!84Feature/dynamicpolymorphism
......@@ -382,11 +382,6 @@ public:
* @brief The type of the fine level smoother.
*/
typedef S SmootherType;
// define the category
enum {
//! \brief The category the preconditioner is part of.
category=SolverCategory::sequential
};
/**
* @brief Constructs a two level method.
......@@ -465,6 +460,12 @@ public:
}
//! Category of the preconditioner (see SolverCategory::Category)
virtual SolverCategory::Category category() const
{
return SolverCategory::sequential;
}
private:
/**
* @brief Struct containing the level information.
......
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