Changeset 4144 for palm/trunk/SOURCE/wind_turbine_model_mod.f90
- Timestamp:
- Aug 6, 2019 9:11:47 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/wind_turbine_model_mod.f90
r4056 r4144 26 26 ! ----------------- 27 27 ! $Id$ 28 ! relational operators .EQ., .NE., etc. replaced by ==, /=, etc. 29 ! 30 ! 4056 2019-06-27 13:53:16Z Giersch 28 31 ! CASE DEFAULT action in wtm_actions needs to be CONTINUE. Otherwise an abort 29 32 ! will happen for location values that are not implemented as CASE statements … … 1522 1525 ! lct(1) = lct(1) 1523 1526 1524 IF ( ( trad1(lct(1)) - cur_r ) .GT.0.0 ) THEN1527 IF ( ( trad1(lct(1)) - cur_r ) > 0.0 ) THEN 1525 1528 lct(1) = lct(1) - 1 1526 1529 ENDIF … … 1534 1537 t2 = ttoint2(trow) 1535 1538 1536 IF ( t1 .EQ. t2 )THEN ! if both are the same, the weights are NaN1537 weight_a = 0.5_wp ! then do interpolate in between same twice1538 weight_b = 0.5_wp ! using 0.5 as weight1539 IF ( t1 == t2 ) THEN ! if both are the same, the weights are NaN 1540 weight_a = 0.5_wp ! then do interpolate in between same twice 1541 weight_b = 0.5_wp ! using 0.5 as weight 1539 1542 ENDIF 1540 1543
Note: See TracChangeset
for help on using the changeset viewer.