Fuller's Problem (Muscod): Difference between revisions
Appearance
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: | 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: | [[Category:Muscod]] | ||
Latest revision as of 09: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];