const bool log_history = false,
const bool log_result = true);
+ /**
+ * Initialize with a
+ * SolverControl object. The
+ * result will emulate
+ * SolverControl by setting
+ * #reduce to zero.
+ */
+ ReductionControl(const SolverControl& c);
+
/**
* Assign a SolverControl object
* to ReductionControl. The
}
-inline
-ReductionControl&
-ReductionControl::operator= (const SolverControl& c)
-{
- SolverControl::operator=(c);
- set_reduction(0.);
- return *this;
-}
-
-
inline double
ReductionControl::reduction () const
{
SolverSelector<VECTOR>::SolverSelector(const std::string &solver_name,
SolverControl &control,
VectorMemory<VECTOR> &) :
- solver_name(solver_name),
- control(control)
+ control(control),
+ solver_name(solver_name)
{}
// $Id$
// Version: $Name$
//
-// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2010 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
{}
+ReductionControl::ReductionControl (const SolverControl& c)
+ :
+ SolverControl(c)
+{
+ set_reduction(0.);
+}
+
+
+ReductionControl&
+ReductionControl::operator= (const SolverControl& c)
+{
+ SolverControl::operator=(c);
+ set_reduction(0.);
+ return *this;
+}
+
+
ReductionControl::~ReductionControl()
{}