From: Guido Kanschat Date: Sun, 2 Feb 2014 22:40:45 +0000 (+0000) Subject: Newton::threshold() was missing X-Git-Tag: v8.2.0-rc1~904 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=900e622f3320ee7755e7246447ae5cc7568c8547;p=dealii.git Newton::threshold() was missing git-svn-id: https://svn.dealii.org/trunk@32379 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/algorithms/newton.templates.h b/deal.II/include/deal.II/algorithms/newton.templates.h index b1380d6e4e..16c6b74483 100644 --- a/deal.II/include/deal.II/algorithms/newton.templates.h +++ b/deal.II/include/deal.II/algorithms/newton.templates.h @@ -80,7 +80,17 @@ namespace Algorithms inverse_derivative->notify(e); } - + + template + double + Newton::threshold(const double thr) + { + const double t = assemble_threshold; + assemble_threshold = thr; + return t; + } + + template void Newton::operator() (NamedData &out, const NamedData &in)