Actual source code: neldermead.h

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

  5: typedef struct {

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

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

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

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

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

 29: } TAO_NelderMead;

 31: #endif /* ifndef __TAO_NELDERMEAD_H */