Skip to content

Commit 9e1ccc9

Browse files
committed
fixed tests - problem with file name exported
1 parent 4a3afd0 commit 9e1ccc9

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/pre_process_code/m_data_output.f90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ SUBROUTINE s_write_serial_data_files(q_cons_vf) ! -----------
183183
IF (n ==0 .AND. p ==0) THEN
184184
IF (model_eqns == 2) THEN
185185
DO i = 1, sys_size
186-
WRITE(file_loc,'(A,I0,A,I2.2,A,I8.8,A)') TRIM(t_step_dir) // '/prim.', i, '.', proc_rank, '.', t_step,'.dat'
186+
WRITE(file_loc,'(A,I0,A,I2.2,A,I6.6,A)') TRIM(t_step_dir) // '/prim.', i, '.', proc_rank, '.', t_step,'.dat'
187187

188188
OPEN(2,FILE= TRIM(file_loc) )
189189
DO j=0,m
@@ -241,7 +241,7 @@ SUBROUTINE s_write_serial_data_files(q_cons_vf) ! -----------
241241
END IF
242242

243243
DO i = 1, sys_size
244-
WRITE(file_loc,'(A,I0,A,I2.2,A,I8.8,A)') TRIM(t_step_dir) // '/cons.', i, '.', proc_rank, '.', t_step,'.dat'
244+
WRITE(file_loc,'(A,I0,A,I2.2,A,I6.6,A)') TRIM(t_step_dir) // '/cons.', i, '.', proc_rank, '.', t_step,'.dat'
245245

246246
OPEN(2,FILE= TRIM(file_loc) )
247247
DO j=0,m
@@ -261,7 +261,7 @@ SUBROUTINE s_write_serial_data_files(q_cons_vf) ! -----------
261261
! 2D
262262
IF ( (n>0) .AND. (p==0) ) THEN
263263
DO i = 1,sys_size
264-
WRITE(file_loc,'(A,I0,A,I2.2,A,I8.8,A)') TRIM(t_step_dir) // '/cons.', i, '.', proc_rank, '.', t_step,'.dat'
264+
WRITE(file_loc,'(A,I0,A,I2.2,A,I6.6,A)') TRIM(t_step_dir) // '/cons.', i, '.', proc_rank, '.', t_step,'.dat'
265265
OPEN(2,FILE= TRIM(file_loc) )
266266
DO j=0,m
267267
DO k=0,n
@@ -277,7 +277,7 @@ SUBROUTINE s_write_serial_data_files(q_cons_vf) ! -----------
277277
! 3D
278278
IF ( p > 0) THEN
279279
DO i = 1,sys_size
280-
WRITE(file_loc,'(A,I0,A,I2.2,A,I8.8,A)') TRIM(t_step_dir) // '/cons.', i, '.', proc_rank, '.', t_step,'.dat'
280+
WRITE(file_loc,'(A,I0,A,I2.2,A,I6.6,A)') TRIM(t_step_dir) // '/cons.', i, '.', proc_rank, '.', t_step,'.dat'
281281
OPEN(2,FILE= TRIM(file_loc) )
282282
DO j=0,m
283283
DO k=0,n

src/simulation_code/m_data_output.f90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ SUBROUTINE s_write_serial_data_files(q_cons_vf, t_step) ! ---------------------
829829

830830
IF (model_eqns==2) THEN
831831
DO i = 1, sys_size
832-
WRITE(file_path,'(A,I0,A,I2.2,A,I8.8,A)') TRIM(t_step_dir) // '/prim.', i, '.', proc_rank, '.', t_step,'.dat'
832+
WRITE(file_path,'(A,I0,A,I2.2,A,I6.6,A)') TRIM(t_step_dir) // '/prim.', i, '.', proc_rank, '.', t_step,'.dat'
833833

834834
OPEN(2,FILE= TRIM(file_path) )
835835
DO j=0,m
@@ -886,7 +886,7 @@ SUBROUTINE s_write_serial_data_files(q_cons_vf, t_step) ! ---------------------
886886
END IF
887887

888888
DO i = 1, sys_size
889-
WRITE(file_path,'(A,I0,A,I2.2,A,I8.8,A)') TRIM(t_step_dir) // '/cons.', i, '.', proc_rank, '.', t_step,'.dat'
889+
WRITE(file_path,'(A,I0,A,I2.2,A,I6.6,A)') TRIM(t_step_dir) // '/cons.', i, '.', proc_rank, '.', t_step,'.dat'
890890

891891
OPEN(2,FILE= TRIM(file_path) )
892892
DO j=0,m
@@ -906,7 +906,7 @@ SUBROUTINE s_write_serial_data_files(q_cons_vf, t_step) ! ---------------------
906906
! 2D
907907
IF ( (n>0) .AND. (p==0) ) THEN
908908
DO i = 1,sys_size
909-
WRITE(file_path,'(A,I0,A,I2.2,A,I8.8,A)') TRIM(t_step_dir) // '/cons.', i, '.', proc_rank, '.', t_step,'.dat'
909+
WRITE(file_path,'(A,I0,A,I2.2,A,I6.6,A)') TRIM(t_step_dir) // '/cons.', i, '.', proc_rank, '.', t_step,'.dat'
910910
OPEN(2,FILE= TRIM(file_path) )
911911
DO j=0,m
912912
DO k=0,n
@@ -928,7 +928,7 @@ SUBROUTINE s_write_serial_data_files(q_cons_vf, t_step) ! ---------------------
928928
! 3D
929929
IF ( p > 0) THEN
930930
DO i = 1,sys_size
931-
WRITE(file_path,'(A,I0,A,I2.2,A,I8.8,A)') TRIM(t_step_dir) // '/cons.', i, '.', proc_rank, '.', t_step,'.dat'
931+
WRITE(file_path,'(A,I0,A,I2.2,A,I6.6,A)') TRIM(t_step_dir) // '/cons.', i, '.', proc_rank, '.', t_step,'.dat'
932932
OPEN(2,FILE= TRIM(file_path) )
933933
DO j=0,m
934934
DO k=0,n

src/simulation_code/m_global_parameters.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ SUBROUTINE s_comp_n_from_cons( vftmp,nRtmp,ntmp )
11551155
! END DO
11561156
! nR3 = 1.d-12
11571157
PRINT*, vftmp, nR3, nRtmp(:)
1158-
STOP'nR3 is negative'
1158+
STOP 'nR3 is negative'
11591159
END IF
11601160
IF (vftmp < 0d0) THEN
11611161
! vftmp = small_alf

0 commit comments

Comments
 (0)