Skip to content

Commit

Permalink
copied over fire module files from WRF release 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
janmandel committed Apr 7, 2012
1 parent b6fe157 commit 97f1638
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion wrfv2_fire/Registry/registry.fire
Expand Up @@ -8,7 +8,7 @@
#<key> <package <associated <package <associated 4d scalars>
# name> namelist choice> state vars>
#
package fire_sfire ifire==2 - state:nfuel_cat,zsf,tign_g,rthfrten,rqvfrten,grnhfx,grnqfx,canhfx,canqfx,lfn,fuel_frac,fire_area,uf,vf,fgrnhfx,fgrnqfx,fcanhfx,fcanhfx,fcanqfx,ros,fxlong,fxlat,fuel_time,bbb,betafl,phiwc,r_0,fgip,ischap,lfn_hist,lfn_time
package fire_sfire ifire==2 - state:nfuel_cat,zsf,tign_g,rthfrten,rqvfrten,grnhfx,grnqfx,canhfx,canqfx,lfn,fuel_frac,fire_area,uf,vf,fgrnhfx,fgrnqfx,fcanhfx,fcanhfx,fcanqfx,ros,fxlong,fxlat,fuel_time,bbb,betafl,phiwc,r_0,fgip,ischap,lfn_hist,lfn_time,avg_fuel_frac,uah,vah

# level function history support
dimspec ign 2 constant=1 z i_lfn_history
Expand Down
4 changes: 2 additions & 2 deletions wrfv2_fire/phys/module_fr_sfire_core.F
Expand Up @@ -1732,7 +1732,7 @@ subroutine tend_ls( id, &
nvy=diffCy/scale

! wind speed in direction of spread
! speed = vx(i,j)*nvx + vy(i,j)*nvy
speed = fp%vx(i,j)*nvx + fp%vy(i,j)*nvy


! get rate of spread from wind speed and slope
Expand Down Expand Up @@ -1765,7 +1765,7 @@ subroutine tend_ls( id, &
advy=0
endif

! tanphi = dzdxf*nvx + dzdyf*nvy
tanphi = fp%dzdxf(i,j)*nvx + fp%dzdyf(i,j)*nvy
! advection from slope direction
if(abs(tanphi)>eps) then
advx=advx+fp%dzdxf(i,j)*ros_slope/tanphi
Expand Down
2 changes: 1 addition & 1 deletion wrfv2_fire/phys/module_fr_sfire_util.F
Expand Up @@ -1209,7 +1209,7 @@ subroutine read_array_2d_integer(filename,ia,its,ite,jts,jte,ims,ime,jms,jme)
if(r.ne.a(i,j))then
write(6,*)'Reading file ',trim(filename)
write(6,*)'value at position ',i,j,' cannot be converted to integer'
write(6,*)'read ',a(i,j),' converted as',k,' converted as ',r
write(6,*)'read ',a(i,j),' converted as',ia(i,j),' converted as ',r
msg=trim(filename)//' is not integer file'
call crash(msg)
endif
Expand Down

0 comments on commit 97f1638

Please sign in to comment.