PLUTO  4.4-patch2
Functions
rhs_source.c File Reference

Add source terms to the right hand side of RMHD eqns. More...

#include "pluto.h"

Functions

void RightHandSideSource (const Sweep *sweep, timeStep *Dts, int beg, int end, double dt, double *phi_p, Grid *grid)
 

Detailed Description

Add source terms to the right hand side of RMHD equations. These include

  1. 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

Function Documentation

◆ RightHandSideSource()

void RightHandSideSource ( const Sweep sweep,
timeStep Dts,
int  beg,
int  end,
double  dt,
double *  phi_p,
Grid grid 
)
Parameters
[in,out]statepointer to State_1D structure
[in]Dtspointer to time step structure
[in]beginitial index of computation
[in]endfinal index of computation
[in]dttime increment
[in]phi_pforce potential at interfaces
[in]gridpointer to Grid structure
Returns
This function has no return value.