Skip to content
Snippets Groups Projects
Commit b92f96cc authored by Carsten Gräser's avatar Carsten Gräser
Browse files

[examples] Only enable makeFastAMG in version >=2.10

parent e208f1d0
No related branches found
No related tags found
1 merge request!249[examples] Add convenience utility for FastAMG preconditioner and use it in Poisson example
......@@ -145,6 +145,7 @@ void incorporateEssentialConstraints(const Basis& basis, Matrix& matrix, Vector&
#if DUNE_VERSION_GTE(DUNE_ISTL, 2, 10)
/**
* \brief Create a FastAMG preconditioner
* \tparam Matrix Type of the matrix the preconditioner should act on.
......@@ -187,6 +188,7 @@ auto makeAMGPreconditioner(const Matrix& matrix, const Vector& dummy)
{
return makeAMGPreconditioner<Vector>(matrix);
}
#endif
......
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