diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2021-11-09 17:59:53 +0100 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2021-11-09 17:59:53 +0100 |
commit | 58e62d50243bc45dbd4ae466642e801a1b46dd69 (patch) | |
tree | 609e60195eff184f43b86d927b2fb6191016837e /dynamics.hpp | |
parent | bcc5c327016a3d188a9bdcb0069cc63b0bb8163f (diff) | |
download | code-58e62d50243bc45dbd4ae466642e801a1b46dd69.tar.gz code-58e62d50243bc45dbd4ae466642e801a1b46dd69.tar.bz2 code-58e62d50243bc45dbd4ae466642e801a1b46dd69.zip |
Progress towards a systematized approach.
Diffstat (limited to 'dynamics.hpp')
-rw-r--r-- | dynamics.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dynamics.hpp b/dynamics.hpp index 36b2dfa..4f33c1a 100644 --- a/dynamics.hpp +++ b/dynamics.hpp @@ -9,7 +9,7 @@ template <class Real, int ...ps> Vector<Real> findMinimum(const pSpinModel<Real, ps...>& M, const Vector<Real>& z0, Real ε) { Vector<Real> z = z0; - Real λ = 10; + Real λ = 100; Real H; Vector<Real> dH; @@ -91,7 +91,7 @@ Vector<Real> randomMinimum(const pSpinModel<Real, ps...>& M, Distribution d, Gen bool foundSaddle = false; while (!foundSaddle) { - Vector<Real> z0 = normalize(randomVector<Real>(M.dimension(), d, r.engine())); + Vector<Real> z0 = normalize(randomVector<Real>(M.dimension(), d, r)); try { zSaddle = findMinimum(M, z0, ε); |