Changeset 295

Show
Ignore:
Timestamp:
12/16/2005 12:36:17 PM (3 years ago)
Author:
Martin
Message:

local variable name "break" changed to "done"
file name "MultiBody\parts.mo" changed to "MultiBody\Parts.mo"

Location:
Modelica/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • Modelica/trunk/Math/package.mo

    r289 r295  
    11331133    Integer j=1; 
    11341134    Integer k=0; 
    1135     Boolean break=false; 
     1135    Boolean done=false; 
    11361136    Real Anorm; 
    11371137    Real Tscaled=1; 
     
    11711171    M := identity(na); 
    11721172    D := M; 
    1173     while j < nmax and not break loop 
     1173    while j < nmax and not done loop 
    11741174      M := Atransf*M*Tscaled/j; 
    11751175      //stop if the new element of the series is small 
    11761176      if columnNorm((D + M) - D) == 0 then 
    1177         break := true; 
     1177        done := true; 
    11781178      else 
    11791179        D := M + D; 
     
    12101210    Integer j=2; 
    12111211    Integer k=0; 
    1212     Boolean break=false; 
     1212    Boolean done=false; 
    12131213    Real Anorm; 
    12141214    Real Tscaled=1; 
     
    13271327    M := identity(na)*Tscaled; 
    13281328    Psi := M; 
    1329     while j < nmax and not break loop 
     1329    while j < nmax and not done loop 
    13301330      M := Atransf*M*Tscaled/j; 
    13311331      //stop if the new element of the series is small 
    13321332      if norm((Psi + M) - Psi, 1) == 0 then 
    1333         break := true; 
     1333        done := true; 
    13341334      else 
    13351335        Psi := M + Psi; 
     
    13701370    parameter Integer nb=size(B, 2); 
    13711371    Integer j=1; 
    1372     Boolean break=false; 
     1372    Boolean done=false; 
    13731373    Real F[na + 2*nb, na + 2*nb]; 
    13741374    annotation ( 
  • Modelica/trunk/Mechanics/MultiBody/parts.mo

    r291 r295  
    1 package Parts  
     1package Parts   
    22  "Rigid components such as bodies with mass and inertia and massless rods"  
    33