16 #ifndef dealii__solver_h 17 #define dealii__solver_h 19 #include <deal.II/base/config.h> 20 #include <deal.II/base/subscriptor.h> 21 #include <deal.II/lac/vector_memory.h> 22 #include <deal.II/lac/solver_control.h> 25 DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
26 #include <boost/signals2.hpp> 27 DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
29 DEAL_II_NAMESPACE_OPEN
31 template <
typename number>
class Vector;
324 template <
class VectorType = Vector<
double> >
385 boost::signals2::connection
387 const double check_value,
388 const VectorType ¤t_iterate)> &slot);
421 template <
typename Iterator>
423 const Iterator end)
const;
448 const double check_value,
449 const VectorType ¤t_iterate),
457 template <
class VectorType>
476 template <
class VectorType>
477 template <
typename Iterator>
481 const Iterator end)
const 483 Assert (begin != end,
ExcMessage (
"You can't combine iterator states if no state is given."));
489 for (; p != end; ++p)
490 state = this->
operator()(state, *p);
496 template<
class VectorType>
508 std_cxx11::ref(solver_control),
515 template<
class VectorType>
520 memory(static_vector_memory)
527 std_cxx11::ref(solver_control),
534 template<
class VectorType>
536 boost::signals2::connection
539 const double check_value,
540 const VectorType ¤t_iterate)> &slot)
542 return iteration_status.connect (slot);
547 DEAL_II_NAMESPACE_CLOSE
Stop iteration, goal not reached.
virtual State check(const unsigned int step, const double check_value)
GrowingVectorMemory< VectorType > static_vector_memory
static ::ExceptionBase & ExcMessage(std::string arg1)
boost::signals2::connection connect(const std_cxx11::function< SolverControl::State(const unsigned int iteration, const double check_value, const VectorType ¤t_iterate)> &slot)
Stop iteration, goal reached.
#define Assert(cond, exc)
Solver(SolverControl &solver_control, VectorMemory< VectorType > &vector_memory)
VectorMemory< VectorType > & memory
boost::signals2::signal< SolverControl::State(const unsigned int iteration, const double check_value, const VectorType ¤t_iterate), StateCombiner > iteration_status