- adding a force/clear equivalent for spins in verlet/kk

- setting all validation problems for spin/kk
This commit is contained in:
julient31
2021-04-01 11:45:16 -06:00
parent 2d0aad1904
commit 4975295e0f
14 changed files with 82 additions and 18 deletions

View File

@ -50,5 +50,5 @@ thermo 200
compute outsp all property/atom spx spy spz sp fmx fmy fmz
dump 1 all custom 10 dump_iron.lammpstrj type x y z c_outsp[1] c_outsp[2] c_outsp[3]
# run 100000
run 10000
run 100000
# run 1

View File

@ -3,10 +3,14 @@
# clean old res
rm res_*.dat
# compute Lammps
# test standard Lammps
../../../../src/lmp_serial -in in.spin.iron-nve
# test spin/kk with Kokkos Lammps
# mpirun -np 1 ../../../../src/lmp_kokkos_mpi_only \
# -k on -sf kk -in in.spin.iron-nve
../../../../src/lmp_serial -in in.spin.iron-nve
# extract data from Lammps run
in="$(grep -n Step log.lammps | awk -F ':' '{print $1}')"
en="$(grep -n Loop log.lammps | awk -F ':' '{print $1}')"
in="$(echo "$in+1" | bc -l)"