From 759fd4cb356eb29e56a5e7e61070e5afbab4022f Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 8 Feb 2009 19:31:14 +0000 Subject: [PATCH] *** empty log message *** --- Numeric/gmshLinearSystemGmm.h | 7 ++++--- Plugin/FiniteElement.cpp | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Numeric/gmshLinearSystemGmm.h b/Numeric/gmshLinearSystemGmm.h index 461c28d8e2..79baa71bc7 100644 --- a/Numeric/gmshLinearSystemGmm.h +++ b/Numeric/gmshLinearSystemGmm.h @@ -77,10 +77,10 @@ class gmshLinearSystemGmm : public gmshLinearSystem<scalar> { { // gmm::ilutp_precond<gmm::row_matrix<gmm::rsvector<scalar> > > P(*_a, 10,0.); gmm::ildltt_precond<gmm::row_matrix<gmm::wsvector<scalar> > > P(*_a, 2, 1.e-10); - gmm::iteration iter(_prec); // defines an iteration object, with a max residu of 1E-8 + gmm::iteration iter(_prec); iter.set_noisy(_noisy); - if(_gmres) gmm::gmres(*_a, *_x, *_b, P, 100, iter); // execute the GMRES algorithm - else gmm::cg(*_a, *_x, *_b, P, iter); // execute the CG algorithm + if(_gmres) gmm::gmres(*_a, *_x, *_b, P, 100, iter); + else gmm::cg(*_a, *_x, *_b, P, iter); return 1; } }; @@ -107,4 +107,5 @@ public : }; #endif + #endif diff --git a/Plugin/FiniteElement.cpp b/Plugin/FiniteElement.cpp index ce281332e7..4ab625b8d6 100644 --- a/Plugin/FiniteElement.cpp +++ b/Plugin/FiniteElement.cpp @@ -48,6 +48,7 @@ void GMSH_FiniteElementPlugin::getInfos(char *author, char *copyright, "Plugin(FiniteElement) solves simple PDEs\n" "using the finite element method. This is only\n" "intended as a demonstration!\n" + "\n" "Plugin(FiniteElement) is creates a new view.\n"); } -- GitLab