Skip to content

Commit

Permalink
fix lint and spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfonba committed Mar 7, 2025
1 parent 93b14da commit 901a5d2
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .fortitude.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[check]
# Ignored Rules and justification:
ignore = ["E001","S001","S101","M011","F001","S041","T001","S101","S102","T002","T011","T042","M001"]
ignore = ["E001","S001","S101","C121","S091","MOD011","C001","S101","S102","C002","PORT011","C072","C003","C131","C141","C092"]
file-extensions = ["f90","fpp","fypp"]
output-format = "pylint"
2 changes: 1 addition & 1 deletion examples/1D_inert_shocktube/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 1D Multi-Component Inert Shock Tube

Reference:
> 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
> 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
## Initial Condition

Expand Down
2 changes: 1 addition & 1 deletion examples/1D_reactive_shocktube/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 1D Multi-Component Reactive Shock Tube

References:
> 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
> 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
> 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
Expand Down
2 changes: 1 addition & 1 deletion misc/acc_devices.f90
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ program main
print '(" - "I3" : "A" | "F0.2" GB | "A"")', i, devvendor, devmem, devname
end do

end program
end program main
8 changes: 4 additions & 4 deletions src/common/m_nvtx.f90
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ module m_nvtx
subroutine nvtxRangePushA(name) bind(C, name='nvtxRangePushA')
use iso_c_binding

character(kind=c_char, len=*) :: name
character(kind=c_char, len=*), intent(IN) :: name
end subroutine nvtxRangePushA

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

import :: nvtxEventAttributes
type(nvtxEventAttributes) :: event
type(nvtxEventAttributes), intent(IN) :: event
end subroutine nvtxRangePushEx
end interface nvtxRangePush

Expand All @@ -54,8 +54,8 @@ end subroutine nvtxRangePop
contains

subroutine nvtxStartRange(name, id)
character(kind=c_char, len=*) :: name
integer, optional :: id
character(kind=c_char, len=*), intent(IN) :: name
integer, intent(IN), optional :: id
type(nvtxEventAttributes) :: event

#if defined(MFC_OpenACC) && defined(__PGI)
Expand Down
2 changes: 1 addition & 1 deletion src/pre_process/m_perturbation.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ contains

subroutine s_elliptic_smoothing(q_prim_vf)

Check warning on line 619 in src/pre_process/m_perturbation.fpp

View check run for this annotation

Codecov / codecov/patch

src/pre_process/m_perturbation.fpp#L619

Added line #L619 was not covered by tests

type(scalar_field), dimension(sys_size) :: q_prim_vf
type(scalar_field), dimension(sys_size), intent(INOUT) :: q_prim_vf
integer :: i, j, k, l, q

do q = 1, elliptic_smoothing_iters

Check warning on line 624 in src/pre_process/m_perturbation.fpp

View check run for this annotation

Codecov / codecov/patch

src/pre_process/m_perturbation.fpp#L624

Added line #L624 was not covered by tests
Expand Down
2 changes: 1 addition & 1 deletion src/simulation/m_cbc.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ contains
end if
#:endfor
end subroutine
end subroutine s_any_cbc_boundaries
!> Module deallocation and/or disassociation procedures
subroutine s_finalize_cbc_module
Expand Down

0 comments on commit 901a5d2

Please sign in to comment.