Skip to content

Commit

Permalink
Merge pull request #132 from LeZhang17/Switch_Col_Row
Browse files Browse the repository at this point in the history
Switch the Col and Row in sgdis.py to fix the coordinate mismatch
  • Loading branch information
robinthibaut authored Nov 30, 2022
2 parents 5aa93f6 + 624ebcf commit cf5c2b3
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
@@ -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)

0 comments on commit cf5c2b3

Please sign in to comment.