Changeset 539 for trunk


Ignore:
Timestamp:
Jun 16, 2008, 1:59:56 PM (15 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Updated simple linear sample

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sample/miscellaneous/sample_linear.mso

    r538 r539  
    4444       
    4545        SPECIFY
    46         u = sin(time*'rad/s');
     46        u(1:nu) = sin((time/'s' + [1:nu])*'rad');
    4747       
    4848        SET
    4949       
    50         A = 0.5;
    51         B = 0.75;
    52         C = 0.85;
     50        nx = 7;
     51        ny = 3;
     52        nu = 5;
     53       
     54        A = 0;
     55        B = 0;
     56        C = 0;
     57        D = 0;
     58       
     59        A(1,1) = 0.5;
     60        A(2,2) = 0.5;
     61        A(3,3) = 0.5;
     62       
     63        B(1,1) = 0.75;
     64        B(2,2) = 0.75;
     65        B(3,3) = 0.75;
     66       
     67        C(2,1) = 0.85;
    5368        D = 0.95;
    5469       
     
    5772 
    5873        OPTIONS
    59         TimeStep = 0.5;
    60         TimeEnd = 10;
     74        TimeStep = 0.1;
     75        TimeEnd = 2;
    6176        TimeUnit = 's';
    6277        SparseAlgebra = true;
Note: See TracChangeset for help on using the changeset viewer.