Skip to content
Snippets Groups Projects
Commit 44bd301d authored by Antoine Cyril David Hoffmann's avatar Antoine Cyril David Hoffmann
Browse files

Condition for Nkr=1 was wrong

parent e897c0b9
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ CONTAINS
IF ( Nr .GT. 1 ) THEN ! To avoid case with 0 intervals
deltar = Lr / REAL(Nr-1,dp)
ELSE
deltar = 0;
deltar = 1;
ENDIF
! Discretized r positions ordered as dx*(0 1 2 -3 -2 -1)
ALLOCATE(rarray(irs:ire))
......@@ -116,7 +116,7 @@ CONTAINS
IF ( Nz .GT. 1 ) THEN ! To avoid case with 0 intervals
deltaz = Lz / REAL(Nz-1,dp)
ELSE
deltaz = 0;
deltaz = 1;
ENDIF
! Discretized r positions ordered as dx*(0 1 2 -3 -2 -1)
ALLOCATE(zarray(irs:ire))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment