tweak to dump grid

This commit is contained in:
Steve Plimpton
2022-07-21 17:34:41 -06:00
parent 22b6a49fba
commit 4a7daaa5d1

View File

@ -275,7 +275,7 @@ void DumpGrid::init_style()
int nx,ny,nz,nxtmp,nytmp,nztmp;
for (int i = 1; i < nfield; i++) {
if (dimension == 2) {
if (dimension == 2) {
if (field2source[i] == COMPUTE) {
icompute = compute[field2index[i]];
grid2d = (Grid2d *) icompute->get_grid_by_index(field2grid[i]);