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

From mintOC
Jump to: navigation, search
m (Moved C to Muscod)
m (Moved C to Muscod)
 
(One intermediate revision 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">

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];