PLUTO  4.4-patch2
Functions
res_rhs.c File Reference

Build the right hand side for the resistivity operator. More...

#include "pluto.h"

Functions

void ResistiveRHS (const Data *d, Data_Arr dU, double **dcoeff, double **aflux, double dt, int beg, int end, Grid *grid)
 

Detailed Description

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
July 10, 2019

Function Documentation

◆ ResistiveRHS()

void ResistiveRHS ( const Data d,
Data_Arr  dU,
double **  dcoeff,
double **  aflux,
double  dt,
int  beg,
int  end,
Grid grid 
)
Parameters
[in]dpointer to PLUTO Data structure
[out]dUa 4D array containing conservative variables increment
[out]dcoeff1D array of diffusion coefficients
[out]afluxpointer to 2D array for AMR re-fluxing operations
[in]dtthe current time-step
[in]beg,endinitial and final interface indices
[in]gridpointer to Grid structure.