Difference between revisions of "Fuller's Problem (Muscod)"

From mintOC
Jump to: navigation, search
(initial setup)
 
m (Moved C to Muscod)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The differential equations for [[Fuller's problem]] in [[:Category:C | C code]] read as follows
+
The differential equations for [[Fuller's problem]] in [[:Category:Muscod | Muscod code]] read as follows
  
 
<source lang="cpp">
 
<source lang="cpp">
Line 9: Line 9:
 
</source>
 
</source>
  
[[Category:C]]
+
[[Category:Muscod]]

Latest revision as of 10:19, 28 January 2016

The differential equations for Fuller's problem in Muscod code read as follows

double myu = -1 + 2*u[0];
 
rhs[0] = xd[1];
rhs[1] = myu;
rhs[2] = xd[0]*xd[0];