11 #ifndef OOPS_ASSIMILATION_LBHESSIANMATRIX_H_ 12 #define OOPS_ASSIMILATION_LBHESSIANMATRIX_H_ 14 #include <boost/noncopyable.hpp> 23 template<
typename MODEL>
class JqTermTLAD;
48 for (
unsigned jj = 0; jj <
j_.
nterms(); ++jj) {
72 for (
unsigned jj = 0; jj <
j_.
nterms(); ++jj) {
95 #endif // OOPS_ASSIMILATION_LBHESSIANMATRIX_H_ const JbTotal_ & jb() const
Access .
GeneralizedDepartures * releaseOutputFromTL(unsigned int ii)
Get TL dual space output.
virtual void runTLM(CtrlInc_ &, PostProcessorTLAD< MODEL > &, PostProcessor< Increment_ > post=PostProcessor< Increment_ >(), const bool idModel=false) const =0
l_size ! loop over number of fields ke do j
void multiply(const CtrlInc_ &dx, CtrlInc_ &dz) const
JqTermTLAD< MODEL > JqTermTLAD_
ControlIncrement< MODEL > CtrlInc_
The namespace for the main oops code.
virtual void runADJ(CtrlInc_ &, PostProcessorTLAD< MODEL > &, PostProcessor< Increment_ > post=PostProcessor< Increment_ >(), const bool idModel=false) const =0
CostFunction< MODEL > CostFct_
void finalizeAD(JqTermTLAD_ *) const
JqTermTLAD_ * initializeTL() const
Initialize before starting the TL run.
Control model post processing.
LBHessianMatrix(const CostFct_ &j)
JqTermTLAD_ * initializeAD(CtrlInc_ &, const CtrlInc_ &) const
Initialize before starting the AD run.
void enrollProcessor(PostBaseTLAD_ *pp)
void finalizeTL(JqTermTLAD_ *, const CtrlInc_ &, CtrlInc_ &) const
Increment Class: Difference between two states.
virtual PostPtrTLAD_ setupAD(boost::shared_ptr< const GeneralizedDepartures >, ControlIncrement< MODEL > &) const =0
Initialize before starting the AD run.
virtual GeneralizedDepartures * multiplyCoInv(const GeneralizedDepartures &) const =0
virtual PostPtrTLAD_ setupTL(const ControlIncrement< MODEL > &) const =0
Initialize before starting the TL run.
void zero()
Linear algebra operators.
void multiplyB(const CtrlInc_ &, CtrlInc_ &) const
Multiply by covariance matrix and its inverse.
Increment< MODEL > Increment_
const CostBase_ & jterm(const unsigned ii) const
Access terms of the cost function other than .
virtual void zeroAD(CtrlInc_ &) const =0