forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5683 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
74ddbe7a8f
commit
5696ba8f3d
|
@ -1164,4 +1164,3 @@ void Domain::box_corners()
|
||||||
corners[7][0] = 1.0; corners[7][1] = 1.0; corners[7][2] = 1.0;
|
corners[7][0] = 1.0; corners[7][1] = 1.0; corners[7][2] = 1.0;
|
||||||
lamda2x(corners[7],corners[7]);
|
lamda2x(corners[7],corners[7]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1101,6 +1101,7 @@ void Neighbor::build()
|
||||||
boxhi_hold[2] = bboxhi[2];
|
boxhi_hold[2] = bboxhi[2];
|
||||||
} else {
|
} else {
|
||||||
domain->box_corners();
|
domain->box_corners();
|
||||||
|
corners = domain->corners;
|
||||||
for (i = 0; i < 8; i++) {
|
for (i = 0; i < 8; i++) {
|
||||||
corners_hold[i][0] = corners[i][0];
|
corners_hold[i][0] = corners[i][0];
|
||||||
corners_hold[i][1] = corners[i][1];
|
corners_hold[i][1] = corners[i][1];
|
||||||
|
@ -1230,7 +1231,6 @@ void Neighbor::setup_bins()
|
||||||
hi[1] = domain->subhi_lamda[1] + cutghost[1];
|
hi[1] = domain->subhi_lamda[1] + cutghost[1];
|
||||||
hi[2] = domain->subhi_lamda[2] + cutghost[2];
|
hi[2] = domain->subhi_lamda[2] + cutghost[2];
|
||||||
domain->bbox(lo,hi,bsubboxlo,bsubboxhi);
|
domain->bbox(lo,hi,bsubboxlo,bsubboxhi);
|
||||||
corners = domain->corners;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bbox[0] = bboxhi[0] - bboxlo[0];
|
bbox[0] = bboxhi[0] - bboxlo[0];
|
||||||
|
|
Loading…
Reference in New Issue