From d9cade677f1e7db91a3b7022e9bff6d3c4117004 Mon Sep 17 00:00:00 2001 From: Antoni Vidal Date: Thu, 31 May 2018 18:51:50 +0200 Subject: [PATCH] Fixed sundials/ida.h example of use. --- include/deal.II/sundials/ida.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5