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

This commit is contained in:
sjplimp 2014-09-12 17:29:37 +00:00
parent 4dd1b4fc65
commit 16864ce4e3
1 changed files with 2 additions and 2 deletions

View File

@ -841,7 +841,7 @@ void DumpImage::create_image()
if (subboxflag) {
double diameter = MIN(boxxhi-boxxlo,boxyhi-boxylo);
if (domain->dimension == 3) diameter = MIN(diameter,boxzhi-boxzlo);
diameter *= boxdiam;
diameter *= subboxdiam;
double *sublo = domain->sublo;
double *subhi = domain->subhi;
@ -863,7 +863,7 @@ void DumpImage::create_image()
boxcorners = domain->corners;
}
image->draw_box(boxcorners,subboxdiam);
image->draw_box(boxcorners,diameter);
}
// render outline of simulation box, orthogonal or triclinic