Skip to content

Commit c6adb44

Browse files
committedNov 13, 2016
Updated gamma and alpha from the examples
1 parent 3be7608 commit c6adb44

File tree

44 files changed

+99
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+99
-99
lines changed
 

‎examples/atomic/PRL_108_017601/figure1.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def relax_system(mesh):
2929

3030
sim = Sim(mesh, name='relax')
3131
# sim.set_options(rtol=1e-10,atol=1e-14)
32-
sim.alpha = 1.0
33-
sim.gamma = 1.0
32+
sim.driver.alpha = 1.0
33+
sim.driver.gamma = 1.0
3434
sim.mu_s = 1.0
3535

3636
sim.set_m(init_m)

‎examples/atomic/PRL_108_017601/figure2.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def excite_system(mesh):
1818
sim = Sim(mesh, name='dyn')
1919

2020
# sim.set_options(rtol=1e-10,atol=1e-14)
21-
sim.alpha = 0.04
22-
sim.gamma = 1.0
21+
sim.driver.alpha = 0.04
22+
sim.driver.gamma = 1.0
2323
sim.mu_s = 1.0
2424

2525
sim.set_m(np.load('m0.npy'))

0 commit comments

Comments
 (0)