]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Initialize a member variable of PreconditionBlock.
authorDavid Wells <wellsd2@rpi.edu>
Sat, 5 Nov 2016 14:15:30 +0000 (10:15 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 5 Nov 2016 15:41:36 +0000 (11:41 -0400)
This is the default value used by the AdditionalData struct.

include/deal.II/lac/precondition_block.templates.h

index e6ced51b0253ede2ffaca3c0e0124aad87c3d1a3..a8db1a5c9cf2fdb14f00caf2b9a9501a4796d6b8 100644 (file)
@@ -54,7 +54,8 @@ template <typename MatrixType, typename inverse_type>
 PreconditionBlock<MatrixType,inverse_type>::PreconditionBlock (bool store)
   : PreconditionBlockBase<inverse_type>(store),
     blocksize(0),
-    A(0, typeid(*this).name())
+    A(0, typeid(*this).name()),
+    relaxation(1.0)
 {}
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.