git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1225 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2007-12-07 14:56:45 +00:00
parent 50ed11cfa9
commit 39250b2abf
3 changed files with 11 additions and 0 deletions

View File

@ -207,6 +207,15 @@ Atom::~Atom()
delete [] primes;
}
/* ----------------------------------------------------------------------
copy modify settings from old Atom class to current Atom class
------------------------------------------------------------------------- */
void Atom::settings(Atom *old)
{
map_style = old->map_style;
}
/* ----------------------------------------------------------------------
create an AtomVec style
called from input script, restart file, replicate