Skip to content
Snippets Groups Projects
Commit f2e9ca64 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Do not supply default template arguments

parent 0aab8fc9
No related branches found
No related tags found
No related merge requests found
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
#ifndef MY_CONVEX_PROBLEM_HH #ifndef MY_CONVEX_PROBLEM_HH
#define MY_CONVEX_PROBLEM_HH #define MY_CONVEX_PROBLEM_HH
#include <dune/istl/bcrsmatrix.hh>
#include <dune/tnnmg/problem-classes/nonlinearity.hh> #include <dune/tnnmg/problem-classes/nonlinearity.hh>
/** \brief General convex problem for a Truncated Nonsmooth Newton Multigrid /** \brief General convex problem for a Truncated Nonsmooth Newton Multigrid
...@@ -14,10 +12,7 @@ ...@@ -14,10 +12,7 @@
\tparam MatrixTypeTEMPLATE The type used for the matrix of the quadratic \tparam MatrixTypeTEMPLATE The type used for the matrix of the quadratic
part part
*/ */
template <class NonlinearityTypeTEMPLATE = Nonlinearity< template <class NonlinearityTypeTEMPLATE, class MatrixTypeTEMPLATE>
Dune::FieldVector<double, 1>, Dune::FieldMatrix<double, 1, 1>>,
class MatrixTypeTEMPLATE =
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>>>
class MyConvexProblem { class MyConvexProblem {
public: public:
typedef NonlinearityTypeTEMPLATE NonlinearityType; typedef NonlinearityTypeTEMPLATE NonlinearityType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment