Ignore:
Timestamp:
09/06/06 12:46:29 (18 years ago)
Author:
pinsard
Message:

Main document available on top directory, Source links available in idldoc html output

Location:
trunk/SRC/Documentation/idldoc_html_output/Computation
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/Computation/div.html

    r167 r168  
    645645    <tr> 
    646646       
    647       <td><a href="./../../overview.html?format=raw" title="Overview of library">Overview</a></td> 
     647      <td><a href="./../overview.html?format=raw" title="Overview of library">Overview</a></td> 
    648648       
    649649 
     
    653653 
    654654       
    655       <td><a href="./../../idldoc-categories.html?format=raw" title="Browse library by category">Categories</a></td> 
    656        
    657  
    658        
    659       <td><a href="./../../idldoc-index.html?format=raw" title="Index of files, routines, and parameters">Index</a></td> 
    660        
    661  
    662        
    663       <td><a href="./../../search-page.html?format=raw" title="Search library">Search</a></td> 
     655      <td><a href="./../idldoc-categories.html?format=raw" title="Browse library by category">Categories</a></td> 
     656       
     657 
     658       
     659      <td><a href="./../idldoc-index.html?format=raw" title="Index of files, routines, and parameters">Index</a></td> 
     660       
     661 
     662       
     663      <td><a href="./../search-page.html?format=raw" title="Search library">Search</a></td> 
    664664       
    665665 
     
    667667 
    668668       
    669       <td >Source</td> 
    670        
    671  
    672        
    673       <td><a href="./../../idldoc-help.html?format=raw" title="Help on IDLdoc">Help</a></td> 
     669      <td><a href="../../../Computation//div.pro?format=raw" title="Source code of a file">Source</a></td> 
     670       
     671 
     672       
     673      <td><a href="./../idldoc-help.html?format=raw" title="Help on IDLdoc">Help</a></td> 
    674674       
    675675 
     
    684684<div id="secondary_navbar"> 
    685685 
    686 <a href="determ3.html?format=raw">&lt;&lt;prev file</a> | <a href="floatlevel2depth.html?format=raw">next file &gt;&gt;</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="div.html?format=raw" target="_TOP">view single page</a> | <a href="./../../index.html?format=raw" target="_TOP">view frames</a>&nbsp;&nbsp;&nbsp;&nbsp;summary: fields | routine&nbsp;&nbsp;&nbsp;&nbsp;details: <a href="#routine_details">routine</a> 
     686<a href="curl.html?format=raw">&lt;&lt;prev file</a> | <a href="grad.html?format=raw">next file &gt;&gt;</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="div.html?format=raw" target="_TOP">view single page</a> | <a href="./../index.html?format=raw" target="_TOP">view frames</a>&nbsp;&nbsp;&nbsp;&nbsp;summary: fields | routine&nbsp;&nbsp;&nbsp;&nbsp;details: <a href="#routine_details">routine</a> 
    687687 
    688688</div> 
     
    691691    <div id="container"> 
    692692 
    693       <h1 class="directory"><a href="directory-overview.html?format=raw">ToBeReviewed/CALCULS/</a></h1> 
     693      <h1 class="directory"><a href="directory-overview.html?format=raw">Computation/</a></h1> 
    694694      <h2 class="pro_file">div.pro</h2> 
    695695 
     
    700700 
    701701      <div id="file_comments"> 
    702  calculation of the divergence of a 2d field 
     702 compute the horizontal divergence of a vectors field 
    703703</div> 
    704704 
     
    721721         
    722722          <p class="header"> 
    723             <span class="result">result = </span>div(<span class="result"><a href="#_div_param_uu">uu</a>, <a href="#_div_param_vv">vv</a></span>)</p> 
     723            <span class="result">result = </span>div(<span class="result"><a href="#_div_param_uu">uu</a>, <a href="#_div_param_vv">vv</a></span>, <a href="#_div_keyword_DIREC">DIREC</a>=<span class="result">scalar string</span>)</p> 
    724724         
    725725          <div class="comments"> 
     
    727727 
    728728          <h3>Return value</h3><div class="preformat"> RES 
    729  A 2d matrix 
     729 the divergence of the input data (with the same size) 
    730730</div> 
    731731 
     
    746746         
    747747          <div class="comments">  
    748  Matrix representing coordinates of a field of vectors 
     748 Matrix representing the zonal coordinates (U point) of a field of vectors 
     749 A 2D (xy), 3D (xyz or yt) or a structure readable by litchamp and containing 
     750 a 2D (xy), 3D (xyz or yt) array (4d case is not coded yet). 
     751 note that the dimension of the arry must suit the domain dimension. 
    749752</div> 
    750753             
     
    761764         
    762765          <div class="comments">  
    763  Matrix representing coordinates of a field of vectors 
     766 Matrix representing the meridional coordinates (V point) of a field of vectors 
     767 A 2D (xy), 3D (xyz or yt) or a structure readable by litchamp and containing 
     768 a 2D (xy), 3D (xyz or yt) array (4d case is not coded yet). 
     769 note that the dimension of the arry must suit the domain dimension. 
    764770</div> 
    765771             
     
    769775           
    770776 
    771            
     777            <h3>Keywords</h3> 
     778             
     779            <h4 id="_div_keyword_DIREC">DIREC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     780               
     781               
     782               
     783               
     784               
     785              <span class="attr">type:</span> <span class="value">scalar string</span> 
     786               
     787               
     788            </h4> 
     789         
     790            <div class="comments"> 
     791 Use if you want to call moyenne or grossemoyenne after the div computation 
     792 (stupid ?) with a mean done in the DIREC direction 
     793</div> 
     794             
     795           
     796 
     797          <h3>Examples</h3><div class="preformat"> 
     798 IDL> @tst_initorca2 
     799 IDL> plt, div(dist(jpi,jpj), dist(jpi,jpj)) 
     800</div> 
    772801          <h3>Version history</h3> 
    773802           
    774803          <h4>Version</h4><div class="preformat"> 
    775  $Id: div.pro 157 2006-08-21 09:01:50Z navarro $ 
     804 $Id: div.pro 167 2006-09-05 12:24:07Z smasson $ 
    776805</div> 
    777806          <h4>History</h4><div class="preformat"> 
    778  Guillaume Roullet (grlod@ipsl.jussieu.fr) 
    779                       Creation : printemps 1998 
    780                       Sebastien Masson (smasson@lodyc.jussieu.fr) 
    781                       adaptation to work with a reduce domain 
    782                       12/1/2000; 
     807 Guillaume Roullet (grlod@ipsl.jussieu.fr): creation; spring 1998 
     808 Sebastien Masson (smasson@lodyc.jussieu.fr) 
     809 adaptation to work with a reduce domain; 12/1/2000 
    783810</div> 
    784811           
     
    787814           
    788815           
    789            
     816          <h4>Todo items</h4><div class="preformat">  
     817 code the 4d case</div> 
    790818          <h4>Restrictions</h4><div class="preformat"> 
    791  U and V matrices can be 2 or 4d. 
    792  Beware, to discern different configuration of U and V (xy, xyz, xyt, xyzt),  
    793  we look at the variable of the common  
    794         -time which contain the calendar in IDL julian days to which U and  
    795  V refered to, in the same way as the variable  
    796         -jpt which is the number of time's step to consider in time. 
    797  U and V arrays are cut in the same geographic domain. Because of the gap of  
    798  T, U, V and F grids, it is possible that these two arrays has not the same  
    799  size and refered to different indexes. In this case, arrays are re-cut on  
    800  common indexes and the domain is redefined to match with these common  
    801  indexes. To avoid these re-cuts, use the keyword /memeindice in domdef.pro 
    802  
    803  
    804  Points on the drawing edge are at !values.f_nan  
    805  
     819 
     820 - Works only for Arakawa C-grid.  
     821 - UU must be on U grid, VV must be on V grid 
     822 - 4d case is not coded yet 
     823 - the common variable jpt is used to differ xyz (jpt=1) and xyt (jpt=1) cases. 
     824 - U and V arrays are cut in the same geographic domain. Because of the shift between  
     825   T, U, V and F grids, it is possible that these two arrays do not have the same  
     826   size and refer to different indexes. In this case, arrays are re-cut on  
     827   common indexes. To avoid these re-cuts, use the keyword /memeindice in domdef.pro 
     828 - When computing the divergence, we update, vargrid, varname, varunits and the 
     829   grid position parameters (firstxt, lastxt, nxt, firstyt, lastyt, nyt). 
     830 - points that cannot be computed (domain bondaries, coastline) are set to NaN 
    806831</div> 
    807832         
     
    810835           
    811836          <h4>Uses routines</h4><div class="preformat"> 
    812  common.pro 
     837 cm_4cal, cm_4data, cm_4mmesh  
    813838</div> 
    814839           
     
    818843          <h3>Statistics</h3> 
    819844          <table class="statistics"> 
    820             <tr><td>McCabe cyclic</td><td>          54</td></tr> 
    821             <tr><td>McCabe essential</td><td>           5</td></tr> 
     845            <tr><td>McCabe cyclic</td><td>          49</td></tr> 
     846            <tr><td>McCabe essential</td><td>           1</td></tr> 
    822847            <tr><td>McCabe modular design</td><td>           1</td></tr> 
    823848          </table> 
Note: See TracChangeset for help on using the changeset viewer.