Skip to content

Commit

Permalink
Added spaces to the checkpoint_read function
Browse files Browse the repository at this point in the history
  • Loading branch information
rpvin authored and tukss committed Jun 21, 2024
1 parent 9a03f1f commit 637065e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions post_processing/rayleigh_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -3267,8 +3267,8 @@ def streamfunction(vr,vt,r,cost,order=0):
return psi

###### Function for reading in the checkpoint files (i.e. P,PAB,T,TAB,W,WAB,Z,ZAB)
def checkpoint_read(chk_file_string,nr,ntheta):
nell=(2*ntheta)//3
def checkpoint_read(chk_file_string, nr, ntheta):
nell = (2*ntheta)//3
shape = (nell,nell)
i,j = np.indices(shape)
m = i <= j
Expand Down

0 comments on commit 637065e

Please sign in to comment.