- improved design of test_problem
- cleaned up langevin/spin - started doc for stt and hexaniso
This commit is contained in:
@ -45,3 +45,14 @@ directory.
|
||||
results (computed by the python script).
|
||||
Note: This example is a reworked version of a test problem
|
||||
provided by Martin Kroger (ETHZ).
|
||||
|
||||
- validation_nve:
|
||||
simulates a small assembly of magnetic atoms (54). The atoms are
|
||||
coupled by an exchange interaction and a mechanical potential
|
||||
(EAM here).
|
||||
This example represents an NVE run: the total energy of the
|
||||
system is preserved, whereas the spin and lattice energy
|
||||
reservoirs are exchanging energy.
|
||||
Run as: ./run-test-nve.sh
|
||||
Output: res_lammps.dat contains the data. The results are displayed
|
||||
by nve_spin_lattice.pdf.
|
||||
|
||||
25
examples/SPIN/test_problems/run_all.sh
Executable file
25
examples/SPIN/test_problems/run_all.sh
Executable file
@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
# test 1: damping and exchange
|
||||
cd validation_damped_exchange/
|
||||
./run-test-exchange.sh
|
||||
rm dump.data res_lammps.dat res_llg.dat
|
||||
cd ..
|
||||
|
||||
# test 2: damping and Zeeman
|
||||
cd validation_damped_precession/
|
||||
./run-test-prec.sh
|
||||
rm res_lammps.dat res_llg.dat
|
||||
cd ..
|
||||
|
||||
# test 3: langevin, damping and Zeeman
|
||||
cd validation_langevin_precession/
|
||||
./run-test-prec.sh
|
||||
rm average_spin test-prec-spin.in res_lammps.dat res_langevin.dat
|
||||
cd ..
|
||||
|
||||
# test 4: NVE run, test Etot preservation
|
||||
cd validation_nve/
|
||||
./run-test-nve.sh
|
||||
rm nve_spin_lattice.pdf res_lammps.dat
|
||||
cd ..
|
||||
Reference in New Issue
Block a user