diff options
author | Jaron Kent-Dobias <jkentdobias@g.hmc.edu> | 2014-05-01 16:01:48 -0700 |
---|---|---|
committer | Jaron Kent-Dobias <jkentdobias@g.hmc.edu> | 2014-05-01 16:01:48 -0700 |
commit | a79c2f04682c44275d2415d39e6996802c4a83c4 (patch) | |
tree | d811bfc2f9e781c6b3d262c758223179f9b4f511 /src/domain_minimize.h | |
download | code-a79c2f04682c44275d2415d39e6996802c4a83c4.tar.gz code-a79c2f04682c44275d2415d39e6996802c4a83c4.tar.bz2 code-a79c2f04682c44275d2415d39e6996802c4a83c4.zip |
created a git repository for my thesis code.
Diffstat (limited to 'src/domain_minimize.h')
-rw-r--r-- | src/domain_minimize.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/domain_minimize.h b/src/domain_minimize.h new file mode 100644 index 0000000..3754e6a --- /dev/null +++ b/src/domain_minimize.h @@ -0,0 +1,24 @@ +#ifndef DOMAIN_MINIMIZE_H +#define DOMAIN_MINIMIZE_H + +// GSL includes. +#include <gsl/gsl_vector.h> + +// Gives the necessary functions for the Lagrangian, gradient, and Hessian. +#include "domain_energy.h" +#include "domain_newton.h" + +int domain_minimize_naked(gsl_vector *z, unsigned n, double c, double eps, unsigned N, double beta, double s, double sigma, double gamma, double eta0, bool verb); + +int domain_minimize_fixed(gsl_vector *z, unsigned n, double c, double eps, unsigned N, double beta, double s, double sigma); + +int domain_minimize_rand(gsl_vector *z, unsigned n, double c, unsigned ord, const gsl_vector *k, const gsl_vector *a, const gsl_vector *phi, double eps, unsigned N, double beta, double s, double sigma, double gamma, double bound, bool verb); + +int domain_minimize_nakedWell(gsl_vector *z, unsigned n, double c, double w, double ss, double eps, unsigned N, double beta, double s, double sigma, double gamma, double bound, bool verb); + +int domain_minimize_randWell(gsl_vector *z, unsigned n, double c, unsigned ord, const gsl_vector *k, const gsl_vector *a, const gsl_vector *phi, double w, double ss, double eps, unsigned N, double beta, double s, double sigma, double gamma, double bound, bool verb); + +int domain_minimize_fixedmin(gsl_vector *z, unsigned n, double c, double eps, unsigned N, double beta, double s, double sigma, double gamma, double bound, bool verb); + +#endif + |