Fuller's Problem (Muscod)

From mintOC
Revision as of 10:19, 28 January 2016 by SebastianSager (Talk | contribs) (Moved C to Muscod)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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