22 #ifndef __H2D_SOLVER_NEWTON_H_
23 #define __H2D_SOLVER_NEWTON_H_
25 #include "solvers/newton_matrix_solver.h"
71 template<
typename Scalar>
74 public Hermes::Solvers::NewtonMatrixSolver < Scalar >
88 virtual void solve(Scalar* coeff_vec);
91 Scalar* get_sln_vector();
100 virtual void set_verbose_output(
bool to_set);
102 virtual void assemble_residual(
bool store_previous_residual);
104 virtual bool assemble_jacobian(
bool store_previous_jacobian);
106 virtual bool assemble(
bool store_previous_jacobian,
bool store_previous_residual);
109 virtual void init_solving(Scalar* coeff_vec);
112 virtual bool isOkay()
const;
113 inline std::string getClassName()
const {
return "NewtonSolver"; }
Used to pass the instances of Space around.
General solver functionality.
::xsd::cxx::tree::string< char, simple_type > string
C++ type corresponding to the string XML Schema built-in type.