Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
BinWang0213 authored Aug 17, 2018
1 parent 77603d8 commit 10c3543
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GRDECL2VTK.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ def field_cutter(self,nx_range=(0,-1),ny_range=(0,-1),nz_range=(0,-1)):
if(nz_range[1]==-1):
nz_range[1] = self.NZ

NX_new=nx_range[1]
NY_new=ny_range[1]
NZ_new=nz_range[1]
NX_new=nx_range[1]-nx_range[0]+1
NY_new=ny_range[1]-ny_range[0]+1
NZ_new=nz_range[1]-nz_range[0]+1
N_new=NX_new*NY_new*NZ_new

TOPS_new=np.zeros(N_new)
Expand Down

0 comments on commit 10c3543

Please sign in to comment.