Build the right hand side for the viscosity operator.
More...
|
void | ViscousRHS (const Data *d, Data_Arr dU, double *dcoeff, double **aflux, double dt, int beg, int end, Grid *grid) |
|
Compute the one-dimensional right hand side for the viscous operator in the direction given by g_dir.
- Authors
- A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
References
- Date
- Aug 21, 2019
◆ ViscousRHS()
void ViscousRHS |
( |
const Data * |
d, |
|
|
Data_Arr |
dU, |
|
|
double * |
dcoeff, |
|
|
double ** |
aflux, |
|
|
double |
dt, |
|
|
int |
beg, |
|
|
int |
end, |
|
|
Grid * |
grid |
|
) |
| |
- Parameters
-
[in] | d | pointer to PLUTO Data structure |
[out] | dU | a 4D array containing conservative variables increment |
[out] | dcoeff | 1D array of diffusion coefficients |
[out] | aflux | pointer to 2D array for AMR re-fluxing operations |
[in] | dt | the current time-step |
[in] | beg,end | initial and final interface indices |
[in] | grid | pointer to Grid structure. |