Skip to content

Commit 5a375f5

Browse files
committed
Adjust heating
1 parent 072c957 commit 5a375f5

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/heatflow/mod_heating.f90

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ subroutine heater(itime, Q, Qdens)
7878
!------------------------------
7979
if ( time .le. time_pulse ) then
8080
Q(IA) = POWER
81-
else
82-
Q(IA) = 0.0_real12
83-
end if
84-
8581
if (icattaneo .eq. 1) then
8682
if (itime .eq. 1) then
8783
Q(IA) = Q(IA) + (tau*(POWER))
@@ -90,6 +86,12 @@ subroutine heater(itime, Q, Qdens)
9086
Q(IA) = Q(IA) - (tau*(POWER))
9187
end if
9288
end if
89+
90+
else
91+
Q(IA) = 0.0_real12
92+
end if
93+
94+
9395
!^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9496
case(3)
9597
!------------------------------

0 commit comments

Comments
 (0)