Skip to content

Commit 547e47b

Browse files
fix: correct internal spelling typos
- BC_SlIP_WALL → BC_SLIP_WALL (lowercase 'l' typo, Fortran is case-insensitive so it compiled, but grep missed this site) - lb → lB (lowercase 'l' vs uppercase 'B' consistency in m_finite_differences.fpp allocate) - fite_path_dest → file_path_dest (typo in variable name) Fixes #1498 (partial — items 2, 4, 5).
1 parent 4a73bf3 commit 547e47b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/common/m_boundary_common.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ contains
260260
call s_symmetry(q_prim_vf, 3, 1, k, l, pb_in, mv_in, q_T_sf)
261261
case (BC_PERIODIC)
262262
call s_periodic(q_prim_vf, 3, 1, k, l, pb_in, mv_in, q_T_sf)
263-
case (BC_SlIP_WALL)
263+
case (BC_SLIP_WALL)
264264
call s_slip_wall(q_prim_vf, 3, 1, k, l, q_T_sf)
265265
case (BC_NO_SLIP_WALL)
266266
call s_no_slip_wall(q_prim_vf, 3, 1, k, l, q_T_sf)

src/common/m_finite_differences.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ contains
3939

4040
#ifdef MFC_POST_PROCESS
4141
if (allocated(fd_coeff_s)) deallocate (fd_coeff_s)
42-
allocate (fd_coeff_s(-fd_number_in:fd_number_in,lb:lE))
42+
allocate (fd_coeff_s(-fd_number_in:fd_number_in,lB:lE))
4343
#endif
4444

4545
! Computing the 1st order finite-difference coefficients

toolchain/mfc/test/case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,9 +479,9 @@ def create_input_lagrange(path_test):
479479

480480
def copy_input_lagrange(path_example_input, path_test):
481481
folder_path_dest = path_test + "/input/"
482-
fite_path_dest = folder_path_dest + "lag_bubbles.dat"
482+
file_path_dest = folder_path_dest + "lag_bubbles.dat"
483483
file_path_src = common.MFC_EXAMPLE_DIRPATH + path_example_input + "/input/lag_bubbles.dat"
484484
if not os.path.exists(folder_path_dest):
485485
os.mkdir(folder_path_dest)
486486

487-
shutil.copyfile(file_path_src, fite_path_dest)
487+
shutil.copyfile(file_path_src, file_path_dest)

0 commit comments

Comments
 (0)