]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Modified Gram-Schmidt: add docu 14552/head
authorPeter Munch <peterrmuench@gmail.com>
Thu, 8 Dec 2022 18:16:23 +0000 (19:16 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Fri, 9 Dec 2022 07:00:04 +0000 (08:00 +0100)
doc/news/changes/minor/20221208Munch [new file with mode: 0644]
include/deal.II/lac/solver_gmres.h

diff --git a/doc/news/changes/minor/20221208Munch b/doc/news/changes/minor/20221208Munch
new file mode 100644 (file)
index 0000000..e90bef2
--- /dev/null
@@ -0,0 +1,6 @@
+New: SolverGMRES now also supports classical Gram-Schmidt orthonormalization
+alongside to the existing modified Gram-Schmidt algorithm. This
+allows to reduce the cost of vector operations in terms of
+communication latency and memory transfer significantly.
+<br>
+(Peter Munch, Martin Kronbichler, 2022/12/08)
index 76bc111c58cc91d65344a1ca67429978414acf33..70a3b164a1a0da5edfbe8edf66a3eae9a095ccbf 100644 (file)
@@ -204,7 +204,10 @@ public:
        */
       modified_gram_schmidt,
       /**
-       * Use classical Gram-Schmidt algorithm.
+       * Use classical Gram-Schmidt algorithm. Since this approach works on
+       * multi-vectors and performs a global reduction only once, it is
+       * more efficient than the modified Gram-Schmidt algorithm.
+       * However, it might be numerically unstable.
        */
       classical_gram_schmidt
     };

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.