Merge branch 'clean-master2' of github.com:julient31/lammps into pppm_spin

Conflicts:
	src/SPIN/fix_nve_spin.h
This commit is contained in:
julient31
2019-05-14 17:41:58 -06:00
264 changed files with 55273 additions and 2505 deletions

View File

@ -949,6 +949,10 @@ bigint AtomVecSpin::memory_usage()
return bytes;
}
/* ----------------------------------------------------------------------
clear all forces (mech and mag)
------------------------------------------------------------------------- */
void AtomVecSpin::force_clear(int /*n*/, size_t nbytes)
{
memset(&atom->f[0][0],0,3*nbytes);