Skip to content

Commit 901a5d2

Browse files
committed
fix lint and spelling
1 parent 93b14da commit 901a5d2

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.fortitude.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[check]
22
# Ignored Rules and justification:
3-
ignore = ["E001","S001","S101","M011","F001","S041","T001","S101","S102","T002","T011","T042","M001"]
3+
ignore = ["E001","S001","S101","C121","S091","MOD011","C001","S101","S102","C002","PORT011","C072","C003","C131","C141","C092"]
44
file-extensions = ["f90","fpp","fypp"]
55
output-format = "pylint"

examples/1D_inert_shocktube/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 1D Multi-Component Inert Shock Tube
22

33
Reference:
4-
> P. J. Martínez Ferrer, R. Buttay, G. Lehnasch, and A. Mura, “A detailed verification procedure for compressible reactive multicomponent Navier–Stokes solvers”, Comput. & Fluids, vol. 89, pp. 88–110, Jan. 2014. Accessed: Oct. 13, 2024. [Online]. Available: https://doi.org/10.1016/j.compfluid.2013.10.014
4+
> P. J. Martínez Ferrer, R. Buttay, G. Lehnasch, and A. Mura, “A detailed verification procedure for compressible reactive multicomponent Navier–Stokes solvers”, Computers & Fluids, vol. 89, pp. 88–110, Jan. 2014. Accessed: Oct. 13, 2024. [Online]. Available: https://doi.org/10.1016/j.compfluid.2013.10.014
55
66
## Initial Condition
77

examples/1D_reactive_shocktube/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 1D Multi-Component Reactive Shock Tube
22

33
References:
4-
> P. J. Martínez Ferrer, R. Buttay, G. Lehnasch, and A. Mura, “A detailed verification procedure for compressible reactive multicomponent Navier–Stokes solvers”, Comput. & Fluids, vol. 89, pp. 88–110, Jan. 2014. Accessed: Oct. 13, 2024. [Online]. Available: https://doi.org/10.1016/j.compfluid.2013.10.014
4+
> P. J. Martínez Ferrer, R. Buttay, G. Lehnasch, and A. Mura, “A detailed verification procedure for compressible reactive multicomponent Navier–Stokes solvers”, Computers & Fluids, vol. 89, pp. 88–110, Jan. 2014. Accessed: Oct. 13, 2024. [Online]. Available: https://doi.org/10.1016/j.compfluid.2013.10.014
55
66
> H. Chen, C. Si, Y. Wu, H. Hu, and Y. Zhu, “Numerical investigation of the effect of equivalence ratio on the propagation characteristics and performance of rotating detonation engine”, Int. J. Hydrogen Energy, Mar. 2023. Accessed: Oct. 13, 2024. [Online]. Available: https://doi.org/10.1016/j.ijhydene.2023.03.190
77

misc/acc_devices.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ program main
2323
print '(" - "I3" : "A" | "F0.2" GB | "A"")', i, devvendor, devmem, devname
2424
end do
2525

26-
end program
26+
end program main

src/common/m_nvtx.f90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ module m_nvtx
3232
subroutine nvtxRangePushA(name) bind(C, name='nvtxRangePushA')
3333
use iso_c_binding
3434

35-
character(kind=c_char, len=*) :: name
35+
character(kind=c_char, len=*), intent(IN) :: name
3636
end subroutine nvtxRangePushA
3737

3838
! push range with custom label and custom color
3939
subroutine nvtxRangePushEx(event) bind(C, name='nvtxRangePushEx')
4040
use iso_c_binding
4141

4242
import :: nvtxEventAttributes
43-
type(nvtxEventAttributes) :: event
43+
type(nvtxEventAttributes), intent(IN) :: event
4444
end subroutine nvtxRangePushEx
4545
end interface nvtxRangePush
4646

@@ -54,8 +54,8 @@ end subroutine nvtxRangePop
5454
contains
5555

5656
subroutine nvtxStartRange(name, id)
57-
character(kind=c_char, len=*) :: name
58-
integer, optional :: id
57+
character(kind=c_char, len=*), intent(IN) :: name
58+
integer, intent(IN), optional :: id
5959
type(nvtxEventAttributes) :: event
6060

6161
#if defined(MFC_OpenACC) && defined(__PGI)

src/pre_process/m_perturbation.fpp

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

619619
subroutine s_elliptic_smoothing(q_prim_vf)
620620

621-
type(scalar_field), dimension(sys_size) :: q_prim_vf
621+
type(scalar_field), dimension(sys_size), intent(INOUT) :: q_prim_vf
622622
integer :: i, j, k, l, q
623623

624624
do q = 1, elliptic_smoothing_iters

src/simulation/m_cbc.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,7 @@ contains
15001500
end if
15011501
#:endfor
15021502
1503-
end subroutine
1503+
end subroutine s_any_cbc_boundaries
15041504
15051505
!> Module deallocation and/or disassociation procedures
15061506
subroutine s_finalize_cbc_module

0 commit comments

Comments
 (0)