PLUTO
|
Define the components of the diagonal resistive tensor. More...
#include "pluto.h"
Go to the source code of this file.
Functions | |
void | Resistive_eta (double *v, double x1, double x2, double x3, double *J, double *eta) |
Define the components of the diagonal resistive tensor.
Use this function to supply the resistivity in the three directions ,
and
.
Definition in file res_eta.c.
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 ![]() |
Definition at line 17 of file res_eta.c.