diff --git a/doc/ipynb/1d_domain_wall.ipynb b/doc/ipynb/1d_domain_wall.ipynb index 358610a6..103caf5d 100644 --- a/doc/ipynb/1d_domain_wall.ipynb +++ b/doc/ipynb/1d_domain_wall.ipynb @@ -109,7 +109,7 @@ "\n", "# Set simulation parameters.\n", "sim.Ms = Ms\n", - "sim.alpha = alpha\n", + "sim.driver.alpha = alpha\n", "sim.driver.gamma = gamma\n", "\n", "# Add energies.\n", diff --git a/doc/ipynb/current-driven-domain-wall.ipynb b/doc/ipynb/current-driven-domain-wall.ipynb index 880902f5..99aa0543 100644 --- a/doc/ipynb/current-driven-domain-wall.ipynb +++ b/doc/ipynb/current-driven-domain-wall.ipynb @@ -116,7 +116,7 @@ "\n", " # Set simulation parameters.\n", " sim.driver.set_tols(rtol=1e-8, atol=1e-8)\n", - " sim.alpha = alpha\n", + " sim.driver.alpha = alpha\n", " sim.driver.gamma = gamma\n", " sim.Ms = Ms\n", "\n", @@ -191,7 +191,7 @@ " \n", " # Set the simulation parameters\n", " sim.driver.set_tols(rtol=1e-12, atol=1e-14)\n", - " sim.alpha = alpha\n", + " sim.driver.alpha = alpha\n", " sim.driver.gamma = gamma\n", " sim.Ms = Ms\n", "\n", diff --git a/doc/ipynb/isolated_skyrmion.ipynb b/doc/ipynb/isolated_skyrmion.ipynb index da52b167..2fe6f92b 100644 --- a/doc/ipynb/isolated_skyrmion.ipynb +++ b/doc/ipynb/isolated_skyrmion.ipynb @@ -167,7 +167,7 @@ "# Create simulation object.\n", "sim = Sim(mesh)\n", "sim.Ms = Ms_function(Ms)\n", - "sim.alpha = alpha\n", + "sim.driver.alpha = alpha\n", "sim.driver.gamma = gamma\n", "\n", "# Add energies.\n", diff --git a/doc/ipynb/spin-polarised-current-driven-skyrmion.ipynb b/doc/ipynb/spin-polarised-current-driven-skyrmion.ipynb index 7f5a2df1..0391c17d 100644 --- a/doc/ipynb/spin-polarised-current-driven-skyrmion.ipynb +++ b/doc/ipynb/spin-polarised-current-driven-skyrmion.ipynb @@ -112,7 +112,7 @@ "\n", "# Set parameters.\n", "sim.Ms = Ms\n", - "sim.alpha = alpha\n", + "sim.driver.alpha = alpha\n", "sim.driver.gamma = gamma\n", "sim.driver.do_precession = False\n", "\n", diff --git a/doc/ipynb/spin-waves-in-periodic-system.ipynb b/doc/ipynb/spin-waves-in-periodic-system.ipynb index db521543..7ac61979 100644 --- a/doc/ipynb/spin-waves-in-periodic-system.ipynb +++ b/doc/ipynb/spin-waves-in-periodic-system.ipynb @@ -87,7 +87,7 @@ "\n", "# Set parameters.\n", "sim.Ms = Ms\n", - "sim.alpha = alpha\n", + "sim.driver.alpha = alpha\n", "sim.driver.gamma = gamma\n", "\n", "# Add energies.\n", diff --git a/doc/ipynb/standard_problem_4.ipynb b/doc/ipynb/standard_problem_4.ipynb index ab3db4cb..d78c2851 100644 --- a/doc/ipynb/standard_problem_4.ipynb +++ b/doc/ipynb/standard_problem_4.ipynb @@ -130,7 +130,7 @@ "\n", "sim.driver.set_tols(rtol=1e-10, atol=1e-10)\n", "sim.Ms = Ms\n", - "sim.alpha = 0.5 # large value since the magnetisation dynamics is not important in the relexation stage\n", + "sim.driver.alpha = 0.5 # large value since the magnetisation dynamics is not important in the relexation stage\n", "sim.driver.gamma = gamma\n", "sim.driver.do_precession = False # speeds up the simulation\n", "\n", @@ -674,7 +674,7 @@ "def field_simulation(H, name):\n", " print(name)\n", " sim = Sim(mesh, name)\n", - " sim.alpha = alpha\n", + " sim.driver.alpha = alpha\n", " sim.driver.gamma = gamma\n", " sim.Ms = Ms\n", " sim.add(UniformExchange(A=A))\n", diff --git a/doc/ipynb/tutorial-basics.ipynb b/doc/ipynb/tutorial-basics.ipynb index 88f13b1d..df84acd4 100644 --- a/doc/ipynb/tutorial-basics.ipynb +++ b/doc/ipynb/tutorial-basics.ipynb @@ -242,7 +242,7 @@ }, "outputs": [], "source": [ - "sim.alpha = 0.5\n", + "sim.driver.alpha = 0.5\n", "sim.driver.gamma = 2.211e5\n", "# sim.do_precession = True" ]