PLUTO  4.0
 All Data Structures Files Functions Variables Enumerations Macros Pages
Functions
add_parabolic_rhs.c File Reference

Compute right hand side for diffusion terms. More...

#include "pluto.h"

Functions

double AddParabolicRHS (Data_Arr V, Data_Arr U, double dt, Grid *grid)
 

Detailed Description

The ParabolicRHS function computes the right hand side, in conservative or divergence form, of the parabolic (diffusion) operators only. These may include the simultaneous contributions of viscosity, thermal conduction and magnetic resistivity. This function is intended for operator split algorithms (STS, RKC) solving for the parabolic part of the equations.

Date
Aug 17, 2012
Authors
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
P. Tzeferacos

Function Documentation

double AddParabolicRHS ( Data_Arr  V,
Data_Arr  U,
double  dt,
Grid grid 
)
Parameters
[in]V3D array containing primitive variables
[out]U3D array containing the conservative right hand sides
[in]dtthe time step
[in]grida pointer to an array of Grid structure