]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Newton::threshold() was missing
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 2 Feb 2014 22:40:45 +0000 (22:40 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 2 Feb 2014 22:40:45 +0000 (22:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@32379 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/algorithms/newton.templates.h

index b1380d6e4e2c706b0f2a4f63c02b3c91e99873a2..16c6b74483064e8d6ec7dc145632f496fbd01d63 100644 (file)
@@ -80,7 +80,17 @@ namespace Algorithms
     inverse_derivative->notify(e);
   }
 
-
+  
+  template <class VECTOR>
+  double
+  Newton<VECTOR>::threshold(const double thr)
+  {
+    const double t = assemble_threshold;
+    assemble_threshold = thr;
+    return t;
+  }
+  
+  
   template <class VECTOR>
   void
   Newton<VECTOR>::operator() (NamedData<VECTOR *> &out, const NamedData<VECTOR *> &in)

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.