- Timestamp:
- Jun 16, 2008, 1:59:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sample/miscellaneous/sample_linear.mso
r538 r539 44 44 45 45 SPECIFY 46 u = sin(time*'rad/s');46 u(1:nu) = sin((time/'s' + [1:nu])*'rad'); 47 47 48 48 SET 49 49 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; 53 68 D = 0.95; 54 69 … … 57 72 58 73 OPTIONS 59 TimeStep = 0. 5;60 TimeEnd = 10;74 TimeStep = 0.1; 75 TimeEnd = 2; 61 76 TimeUnit = 's'; 62 77 SparseAlgebra = true;
Note: See TracChangeset
for help on using the changeset viewer.