Add source terms to the right hand side of RMHD eqns.
More...
Add source terms to the right hand side of RMHD equations. These include
- Non stiff current part;
- Author
- G. Mattia A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)\
- Date
- July 5, 2017
◆ RightHandSideSource()
void RightHandSideSource |
( |
const Sweep * |
sweep, |
|
|
timeStep * |
Dts, |
|
|
int |
beg, |
|
|
int |
end, |
|
|
double |
dt, |
|
|
double * |
phi_p, |
|
|
Grid * |
grid |
|
) |
| |
- Parameters
-
[in,out] | state | pointer to State_1D structure |
[in] | Dts | pointer to time step structure |
[in] | beg | initial index of computation |
[in] | end | final index of computation |
[in] | dt | time increment |
[in] | phi_p | force potential at interfaces |
[in] | grid | pointer to Grid structure |
- Returns
- This function has no return value.