|
发表于 2004-10-28 06:23:26
|
显示全部楼层
请教大家,关于龙格库塔法
the idea is the same. for instance, the eqn has the following form: du/dt+u*du/dx=0. this is a pde. it can be rewritten as:du/dt=-u*du/dx.
the rhs can be calculated by empploying, say, Central Differece. Now that you know the values of the rhs at every interior points, you can apply the R-K scheme to the above eqn just as for ode. |
|