Skip to content

Commit b59fa66

Browse files
committed
lint
1 parent 83b303b commit b59fa66

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

.github/workflows/lint-source.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,8 @@ jobs:
4444
4545
- name: Looking for junk comments in examples
4646
run: |
47-
! grep -R '#' ./examples/**/*.py
47+
! grep -R '# ===' ./benchmarks **/*.py
48+
! grep -R '# ===' ./examples/**/*.py
49+
! grep -R '===' ./benchmarks/**/*.py
50+
! grep -R '===' ./examples/**/*.py
51+

examples/2D_lungwave/case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
c_l = 1648.7
2323
G_l = 1e3
2424

25-
# primitive vartiables
25+
# primitive variables
2626
patmos = 101325.0 # pa
2727

2828
# problem specific variable

examples/2D_lungwave_horizontal/case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
c_l = 1648.7
2222
G_l = 1e3
2323

24-
# primitive vartiables
24+
# primitive variables
2525
patmos = 101325.0 # pa
2626

2727
# problem specific variable

examples/3D_lungwave/arc_case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
G_l = 1e06
2323

2424

25-
# primitive vartiables
25+
# primitive variables
2626
patmos = 101325.0 # pa
2727

2828
# problem specific variable

examples/3D_lungwave/case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
G_l = 1e06
2323

2424

25-
# primitive vartiables
25+
# primitive variables
2626
patmos = 101325.0 # pa
2727

2828
# problem specific variable

src/common/m_phase_change.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ contains
118118
! throughout the phase-change process.
119119
rM = q_cons_vf(lp + contxb - 1)%sf(j, k, l) + q_cons_vf(vp + contxb - 1)%sf(j, k, l)
120120

121-
! correcting negative (recating) mass fraction values in case they happen
121+
! correcting negative (reacting) mass fraction values in case they happen
122122
call s_correct_partial_densities(MCT, q_cons_vf, rM, j, k, l)
123123

124124
! fixing m1 and m2 AFTER correcting the partial densities. Note that these values must be stored for the phase

0 commit comments

Comments
 (0)