PLUTO
|
Add source terms before the FARGO advection step. More...
#include "pluto.h"
Go to the source code of this file.
Functions | |
void | FARGO_Source (Data_Arr UU, double dt, Grid *grid) |
Add source terms before the FARGO advection step.
This function is called prior to the FARGO advection algorithm to add source terms. At present, we use it only for the energy equation in the ShearingBox module:
where . The discretization follows the algorithm of [GS10], see Eq. (51) and (63) of that paper.
Reference
Definition in file fargo_source.c.
[in,out] | UU | an array of conserved variables |
[in] | dt | the current time increment |
[in] | grid | pointer to an array of Grid structures |
Definition at line 28 of file fargo_source.c.