PLUTO
4.4-patch2
|
Define the components of the diagonal resistive tensor. More...
#include "pluto.h"
Functions | |
void | Resistive_eta (double *v, double x1, double x2, double x3, double *J, double *eta) |
Use this function to supply the resistivity in the three directions ,
and
.
void Resistive_eta | ( | double * | v, |
double | x1, | ||
double | x2, | ||
double | x3, | ||
double * | J, | ||
double * | eta | ||
) |
Compute the resistive tensor components as function of the primitive variables, coordinates and currents.
[in] | v | array of primitive variables |
[in] | x1 | coordinate in the X1 direction |
[in] | x2 | coordinate in the X2 direction |
[in] | x3 | coordinate in the X3 direction |
[in] | J | current components, J[IDIR], J[JDIR], J[KDIR] |
[out] | eta | an array containing the three components of ![]() |