Changeset 3261 for palm/trunk/SOURCE
- Timestamp:
- Sep 19, 2018 12:32:39 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/radiation_model_mod.f90
r3248 r3261 28 28 ! ----------------- 29 29 ! $Id$ 30 ! Bugfix in raytrace_2d calls 31 ! 32 ! 3248 2018-09-14 09:42:06Z sward 30 33 ! Minor formating changes 31 34 ! … … 5856 5859 ENDIF 5857 5860 yxdir = (/ COS(azmid), SIN(azmid) /) 5858 CALL raytrace_2d(ta, yxdir, zdirs, & 5859 -999, -999._wp, vffrac, .FALSE., .FALSE., & 5860 win_lad, horizon, ztransp) 5861 CALL raytrace_2d(ta, yxdir, zdirs, & 5862 surfstart(myid) + isurflt, facearea(td), & 5863 vffrac, .TRUE., .FALSE., win_lad, horizon, & 5864 ztransp) 5865 5861 5866 5862 5867 azen = pi/2 - ATAN(horizon) … … 5984 5989 azmid = az0 + (REAL(iaz, wp) - .5_wp) * azs 5985 5990 yxdir = (/ COS(azmid), SIN(azmid) /) 5986 CALL raytrace_2d(ta, yxdir, zdirs, & 5987 surfstart(myid) + isurflt, facearea(td), & 5988 vffrac, .TRUE., .TRUE., win_lad, horizon, & 5989 ztransp) 5991 CALL raytrace_2d(ta, yxdir, zdirs, & 5992 -999, -999._wp, vffrac, .FALSE., .TRUE., & 5993 win_lad, horizon, ztransp) 5990 5994 5991 5995 !--Save direct solar transparency … … 6691 6695 !--Assert that we have space allocated for CSFs 6692 6696 !-- 6693 maxboxes = (ntrack + MAX(origin(1) - nzub, nz pt - origin(1))) * SIZE(zdirs, 1)6697 maxboxes = (ntrack + MAX(origin(1) - nzub, nzut - origin(1))) * SIZE(zdirs, 1) 6694 6698 ! IF ( ncsfl + maxboxes > ncsfla ) THEN 6695 6699 ! !-- use this code for growing by fixed exponential increments (equivalent to case where ncsfl always increases by 1)
Note: See TracChangeset
for help on using the changeset viewer.