Actual source code: neldermead.h

  1: #ifndef __TAO_NELDERMEAD_H
  3: #include <petsc/private/taoimpl.h>


  6: typedef struct {

  8:   PetscReal mu_ic;
  9:   PetscReal mu_oc;
 10:   PetscReal mu_r;
 11:   PetscReal mu_e;

 13:   PetscReal lamda;  /*  starting point delta for finding starting simplex */

 15:   PetscInt N;
 16:   PetscReal oneOverN;
 17:   Vec Xbar,Xmuc,Xmur,Xmue;
 18:   Vec G;
 19:   Vec *simplex;

 21:   PetscReal *f_values;
 22:   PetscInt *indices;

 24:   PetscInt nshrink;
 25:   PetscInt nexpand;
 26:   PetscInt nreflect;
 27:   PetscInt nincontract;
 28:   PetscInt noutcontract;


 31: } TAO_NelderMead;

 33: #endif /* ifndef __TAO_NELDERMEAD_H */