[dune-pdelab] [dune-pdelab-commit] dune-pdelab r463 - trunk/dune/pdelab/backend

Christian Engwer christi at uni-hd.de
Tue Mar 30 11:29:30 CEST 2010


Hi Joe,

>        typename V::ElementType norm(const V& v) const
>        {
> -        return v.two_norm();
> +        DUNE_THROW(NotImplemented, "ISTLBackend_OVLP_ExplicitDiagonal::norm() "
> +                   "should not be neccessary, so we skipped the "
> +                   "implementation");
>        }

Instead of an exception, you could just remove the implementation. In
case it is used, the linker will give an error.

Christian




More information about the dune-pdelab mailing list