Merge branch 'clean-master2' of github.com:julient31/lammps into pppm_spin
Conflicts: src/SPIN/fix_nve_spin.h
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user