diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2020-02-14 07:43:33 -0500 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2020-02-14 07:43:33 -0500 |
commit | fba3eb10e02f0b4406c1baf246daa94006c66cf8 (patch) | |
tree | 6c60ea894d1f4ffab2f0ff5ed95ad538b7e1d1f2 /spheres_infinite.cpp | |
parent | 2242fd6f8b7f16b706d49a2288da3aa20f12314b (diff) | |
download | space_wolff-fba3eb10e02f0b4406c1baf246daa94006c66cf8.tar.gz space_wolff-fba3eb10e02f0b4406c1baf246daa94006c66cf8.tar.bz2 space_wolff-fba3eb10e02f0b4406c1baf246daa94006c66cf8.zip |
Added settings in Ising to deplete spins for Blume-Capel sims
Diffstat (limited to 'spheres_infinite.cpp')
-rw-r--r-- | spheres_infinite.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spheres_infinite.cpp b/spheres_infinite.cpp index 026486e..5287a84 100644 --- a/spheres_infinite.cpp +++ b/spheres_infinite.cpp @@ -179,8 +179,8 @@ int main(int argc, char* argv[]) { return H * s.x.norm(); }; - auto g1 = eGen(0.5); - auto g2 = mGen(0.2); + auto g1 = eGen(1); + auto g2 = mGen(0.5); animation A(L, 750, argc, argv); model sphere(1.0, Z, B); @@ -192,7 +192,7 @@ int main(int argc, char* argv[]) { for (unsigned i = 0; i < sphere.s.size(); i++) { Spin<double, 2, double>* ss = new Spin<double, 2, double>(); ss->x = {(i / nx) * L / nx, (i % nx) * L / nx}; - ss->s = rng.uniform<double>(0.25, 0.45); + ss->s = rng.uniform<double>(0.45, 0.45); sphere.s[i] = ss; sphere.dict.insert(ss); } |