11 #ifndef OOPS_ASSIMILATION_GMRESRMINIMIZER_H_ 12 #define OOPS_ASSIMILATION_GMRESRMINIMIZER_H_ 39 const std::string
classname()
const override {
return "GMRESRMinimizer";}
46 const int,
const double)
override;
51 template<
typename MODEL>
54 const int ninner,
const double gnreduc) {
56 double reduc =
GMRESR(dx, rhs, hessian, B, ninner, gnreduc);
64 #endif // OOPS_ASSIMILATION_GMRESRMINIMIZER_H_ double GMRESR(VECTOR &xx, const VECTOR &bb, const AMATRIX &A, const PMATRIX &precond, const int maxiter, const double tolerance)
The namespace for the main oops code.
CostFunction< MODEL > CostFct_
double solve(CtrlInc_ &, const CtrlInc_ &, const Hessian_ &, const Bmat_ &, const int, const double) override
GMRESRMinimizer(const eckit::Configuration &, const CostFct_ &J)
HessianMatrix< MODEL > Hessian_
const std::string classname() const override
ControlIncrement< MODEL > CtrlInc_