Skip to content
Snippets Groups Projects
Commit f32fc727 authored by Uli Sack's avatar Uli Sack Committed by usack
Browse files

added default values for template parameters such that the old scalar implementation is default

[[Imported from SVN: r5942]]
parent 750e6b9f
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
* \tparam Diagonal some container type having the random access operator[]; used to store the diagonal entries of the matrix
* \tparam VectorType the vector type the norm may be applied to
*/
template <class Diagonal, class VectorType>
template <class Diagonal=Dune::BlockVector<Dune::FieldVector <double,1> >, class VectorType=Dune::BlockVector<Dune::FieldVector <double,1> > >
class DiagNorm:
public Norm<VectorType>
{
......
......@@ -14,7 +14,7 @@
* \tparam LowRankFactor the type of the factor used to represent the low rank operator
* \tparam VectorType the vector type the norm may be applied to
*/
template <class LowRankFactor, class VectorType>
template <class LowRankFactor=Dune::BlockVector<Dune::FieldVector <double,1> >, class VectorType=Dune::BlockVector<Dune::FieldVector <double,1> > >
class FullNorm: public Norm<VectorType>
{
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment