PLUTO  4.4-patch2
Functions
res_functions.c File Reference

Compute resistivity. More...

#include "pluto.h"

Functions

void ComputeStaggeredEta (const Data *d, Grid *grid)
 

Detailed Description

Compute resistivity using the same staggering of the current:

Since each eta_xn may depend on the total current, we also need to interpolate different current components at the same place.

eta is stored in this function as a static array.

Authors
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
Date
July 10, 2019

Function Documentation

◆ ComputeStaggeredEta()

void ComputeStaggeredEta ( const Data d,
Grid grid 
)
Parameters
[in,out]dpointer to the PLUTO data structure
[in]gridpointer to an array of Grid structures