<p><b>duda</b> 2009-08-10 16:52:19 -0600 (Mon, 10 Aug 2009)</p><p>SW test case 5 expects longitudes to be in the range [0,2PI) when initializing<br>
hill; add a check to convert all longitudes outside this range in SWTC5. None<br>
of the other test cases currently implemented have this expectation.<br>
<br>
M    module_test_cases.F<br>
</p><hr noshade><pre><font color="gray">Modified: trunk/swmodel/module_test_cases.F
===================================================================
--- trunk/swmodel/module_test_cases.F        2009-08-10 18:30:46 UTC (rev 19)
+++ trunk/swmodel/module_test_cases.F        2009-08-10 22:52:19 UTC (rev 20)
@@ -338,6 +338,7 @@
       ! Initialize mountain
       !
       do iCell=1,grid % nCells
+         if (grid % lonCell % array(iCell) &lt; 0.0) grid % lonCell % array(iCell) = grid % lonCell % array(iCell) + 2.0 * pii
          r = sqrt(min(rr**2.0, (grid % lonCell % array(iCell) - lambda_c)**2.0 + (grid % latCell % array(iCell) - theta_c)**2.0))
          state % h_s % array(iCell) = hs0 * (1.0 - r/rr)
       end do

</font>
</pre>