Skip to content

Commit

Permalink
Switch the Col and Row in sgdis.py to fix the coordinate mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
LeZhang17 committed Nov 30, 2022
1 parent 5aa93f6 commit 624ebcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysgems/dis/sgdis.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ def __init__(
nlay = 1

# Size of each cell along y-dimension - rows
along_r = np.ones(ncol) * self.dx * np.sign(x_lim)
along_c = np.ones(ncol) * self.dx * np.sign(x_lim)
# Size of each cell along x-dimension - columns
along_c = np.ones(nrow) * self.dy * np.sign(y_lim)
along_r = np.ones(nrow) * self.dy * np.sign(y_lim)
# Size of each cell along x-dimension - columns
along_l = np.ones(nlay) * self.dz * np.sign(z_lim)

Expand Down

0 comments on commit 624ebcf

Please sign in to comment.