Changeset 632

Show
Ignore:
Timestamp:
09/16/2007 10:01:02 AM (16 months ago)
Author:
otter
Message:

Improved documentation of Blocks.Tables.CombiTable2D (reported by Ulf Nordström)
Started "Version 3.0" release notes under Modelica.UsersGuide.ReleaseNotes.

Location:
Modelica/trunk/Modelica
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • Modelica/trunk/Modelica/Blocks/Tables.mo

    r550 r632  
    488488----------------------------------------------------- 
    489489#1 
    490 double tab1(5,2)   # comment line 
    491   0   0 
    492   1   1 
    493   2   4 
    494   3   9 
    495   4  16 
    496 double tab2(5,2)   # another comment line 
    497   0   0 
    498   2   2 
    499   4   8 
    500   6  18 
    501   8  32 
     490double table2D_1(3,4)   # comment line 
     4910.0  1.0  2.0  3.0  # u[2] grid points 
     4921.0  1.0  3.0  5.0 
     4932.0  2.0  4.0  6.0 
     494 
     495double table2D_2(4,4)   # comment line 
     4960.0  1.0  2.0  3.0  # u[2] grid points 
     4971.0  1.0  3.0  5.0 
     4982.0  2.0  4.0  6.0 
     4993.0  3.0  5.0  7.0 
    502500----------------------------------------------------- 
    503501</pre> 
     
    508506rows of the file, the elements of the matrix have to be given. 
    509507Several matrices may be defined one after another. 
    510 </p> 
    511 </HTML> 
     508The matrix elements are interpreted in exactly the same way 
     509as if the matrix is given as a parameter. For example, the first 
     510column \"table2D_1[2:,1]\" contains the u[1] grid points, 
     511and the first row \"table2D_1[1,2:]\" contains the u[2] grid points. 
     512</p> 
     513 
     514</html> 
    512515"),   Icon( 
    513516        Line(points=[-60, 40; -60, -40; 60, -40; 60, 40; 30, 40; 30, -40; -30, 
  • Modelica/trunk/Modelica/package.mo

    r626 r632  
    1313    autolayout=1), 
    1414  version="3.0-development", 
    15   versionBuild="608", 
    16   versionDate="2007-08-22", 
     15  versionBuild="632", 
     16  versionDate="2007-09-16", 
    1717  conversion( 
    1818    from(version="1.6", 
     
    694694")); 
    695695     
     696  class Version_3_0 "Version 3.0 (under development)"  
     697       
     698      annotation (Documentation(info="<html> 
     699<p> 
     700Version 3.0 is <b>not</b> backward compatible to previous versions. 
     701A conversion script is provided to transform models and libraries 
     702of previous versions to the new version (this conversion script 
     703needs still to be implemented). 
     704</p> 
     705 
     706 
     707<p><br> 
     708The following <b style=\"color:red\">critical errors</b> have been fixed (i.e. errors 
     709that can lead to wrong simulation results): 
     710</p> 
     711  
     712<table border=\"1\" cellspacing=0 cellpadding=2 style=\"border-collapse:collapse;\"> 
     713  <tr><td colspan=\"2\"><b>Package-Name.</b></td></tr> 
     714  <tr><td valign=\"top\"> Model-Name </td> 
     715      <td valign=\"top\"> Description text</td>  
     716  </tr> 
     717</table> 
     718  
     719  
     720<p><br> 
     721The following <b style=\"color:red\">uncritical errors</b> have been fixed (i.e. errors 
     722that do <b style=\"color:red\">not</b> lead to wrong simulation results, but, e.g.,  
     723units are wrong or errors in documentation): 
     724</p> 
     725  
     726<table border=\"1\" cellspacing=0 cellpadding=2 style=\"border-collapse:collapse;\"> 
     727  <tr><td colspan=\"2\"><b>Blocks.Tables.</b></td></tr> 
     728  <tr><td valign=\"top\"> CombiTable2D</td> 
     729      <td valign=\"top\"> Documentation improved.</td>  
     730  </tr> 
     731</table> 
     732                                
     733</html>")); 
     734  end Version_3_0; 
     735 
    696736  class Version_2_2_2 "Version 2.2.2 (Aug. 31, 2007)"  
    697737