Actual source code: nls.h

      1: /*$Id: nls.h 1.25 02/09/16 23:00:56-05:00 benson@rockies.mcs.anl.gov $*/

      3: /*
      4:     Context for a Newton line search method (unconstrained minimization)
      5:  */

      7: #ifndef __TAO_NLS_H
      9: #include "tao_solver.h"

     11: typedef struct {
     12:   TaoVec *RHS;
     13:   TaoVec *W;
     14:   TaoVec *S;
     15:   TaoVec *G;
     16:   double gamma;                     /* damping parameter */
     17:   double gamma_factor;             /* damping parameter */
     18:   int    max_kspiter_factor; /* computes max KSP iterations */

     20: } TAO_NLS;

     23: int TaoLineSearchGetDampingParameter_NLS(TAO_SOLVER,double *);

     26: #endif