From: Antoni Vidal Date: Thu, 31 May 2018 16:51:50 +0000 (+0200) Subject: Fixed sundials/ida.h example of use. X-Git-Tag: v9.1.0-rc1~1080^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9cade677f1e7db91a3b7022e9bff6d3c4117004;p=dealii.git Fixed sundials/ida.h example of use. --- diff --git a/include/deal.II/sundials/ida.h b/include/deal.II/sundials/ida.h index 14977a0dd7..c4ce9f2466 100644 --- a/include/deal.II/sundials/ida.h +++ b/include/deal.II/sundials/ida.h @@ -178,6 +178,8 @@ namespace SUNDIALS * VectorType y(2); * VectorType y_dot(2); * + * double kappa = 1.0; + * * FullMatrix A(2,2); * A(0,1) = -1.0; * A(1,0) = kappa*kappa; @@ -185,8 +187,6 @@ namespace SUNDIALS * FullMatrix J(2,2); * FullMatrix Jinv(2,2); * - * double kappa = 1.0; - * * IDA time_stepper; * * time_stepper.reinit_vector = [&] (VectorType&v)