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

This commit is contained in:
sjplimp 2007-08-03 19:39:46 +00:00
parent 025e76b996
commit b6cdcaf49f
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ DumpAtom::DumpAtom(LAMMPS *lmp, int narg, char **arg) : Dump(lmp, narg, arg)
void DumpAtom::init()
{
// this error check cannot occur in constructor since scale_flag = 1
// is the default and it can be changed by dump_modify
if (scale_flag && domain->triclinic)
error->all("Cannot dump scaled coords with triclinic box");