Ignore:
Timestamp:
Sep 22, 2006, 9:16:00 PM (16 years ago)
Author:
Argimiro Resende Secchi
Message:

clean up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mso/sample/miscellaneous/sample_arrays2.mso

    r1 r32  
    2121        EQUATIONS
    2222
    23         diff(Var1(1,1)) = Var2(1,2);
     23        diff(Var1(1,1))*"s" = Var2(1,2);
    2424       
    2525        for i in [2 : Dimension-1]
    26                 diff(Var1(1,i)) = Var2(1,i-1)+Var2(1,i+1);
     26                diff(Var1(1,i))*"s" = Var2(1,i-1)+Var2(1,i+1);
    2727        end
    2828
    29         diff(Var1(1,Dimension)) = Var2(1,Dimension);
    30         diff(Var1(2:Dimension,:)) = Scalar*Var2(2:Dimension,:);
     29        diff(Var1(1,Dimension))*"s" = Var2(1,Dimension);
     30        diff(Var1(2:Dimension,:))*"s" = Scalar*Var2(2:Dimension,:);
    3131
    32         exp(Scalar)*Var2 = sin(time);
     32        exp(Scalar)*Var2 = sin(time/"s");
    3333end
    3434
     
    4343        OPTIONS
    4444        time = [0:0.1:2*3.1415];
    45         outputLevel = "high";
    4645end
Note: See TracChangeset for help on using the changeset viewer.