Skip to content

Commit 89a2e77

Browse files
committed
added comments in phys/module_fr_sfire_atm.F
1 parent 627fa64 commit 89a2e77

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

wrfv2_fire/phys/module_fr_sfire_atm.F

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,13 @@ subroutine interpolate_atm2fire(id, & ! for debug output, <= 0 no
316316
endif
317317
7001 format(a,' dimensions ',a4,':',i6,' to ',i6,' by ',i6,' to ',i6)
318318

319+
!**********************************************************
320+
!* *
321+
!* find the altitude of the w points *
322+
!* *
323+
!**********************************************************
324+
!! in future, replace by z8w & test if the same
325+
319326
kdmax=kde-1 ! max layer to interpolate from, can be less
320327

321328
do j = jtst,jtet
@@ -339,6 +346,12 @@ subroutine interpolate_atm2fire(id, & ! for debug output, <= 0 no
339346
!$OMP END CRITICAL(SFIRE_DRIVER_CRIT)
340347
endif
341348

349+
!**********************************************************
350+
!* *
351+
!* interpolate the altitude from w points to u points *
352+
!* *
353+
!**********************************************************
354+
342355
do j = jtsu,jteu
343356
do k=kds,kdmax+1
344357
do i = itsu,iteu
@@ -364,6 +377,13 @@ subroutine interpolate_atm2fire(id, & ! for debug output, <= 0 no
364377
call message(msg)
365378
!$OMP END CRITICAL(SFIRE_DRIVER_CRIT)
366379
endif
380+
381+
!**********************************************************
382+
!* *
383+
!* interpolate the altitude from w points to v points *
384+
!* *
385+
!**********************************************************
386+
367387
do j = jtsv,jtev
368388
do k=kds,kdmax+1
369389
do i = itsv,itev
@@ -385,6 +405,13 @@ subroutine interpolate_atm2fire(id, & ! for debug output, <= 0 no
385405
#endif
386406
logfwh = log(fire_wind_height)
387407

408+
409+
!**********************************************************
410+
!* *
411+
!* interpolate u to the fire mesh at fire_wind_height *
412+
!* *
413+
!**********************************************************
414+
388415
! interpolate u, staggered in X
389416

390417
do j = jtsu,jteu ! compute on domain by 1 smaller, otherwise z0 and ph not available
@@ -415,6 +442,13 @@ subroutine interpolate_atm2fire(id, & ! for debug output, <= 0 no
415442
enddo
416443
enddo
417444

445+
446+
!**********************************************************
447+
!* *
448+
!* interpolate v to the fire mesh at fire_wind_height *
449+
!* *
450+
!**********************************************************
451+
418452
! interpolate v, staggered in Y
419453

420454
do j = jtsv,jtev

0 commit comments

Comments
 (0)