PLUTO  4.0
 All Data Structures Files Functions Variables Enumerations Macros Pages
Functions
tc.h File Reference

Thermal conduction (TC) module header file. More...

Go to the source code of this file.

Functions

void TC_Flux (double ***, const State_1D *, double **, int, int, Grid *)
 
void TC_kappa (double *, double, double, double, double *, double *, double *)
 

Detailed Description

Contains prototypes for the thermal conduction module.

Authors
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
T. Matsakos
Date
Sep 13, 2012

Function Documentation

void TC_Flux ( double ***  T,
const State_1D state,
double **  dcoeff,
int  beg,
int  end,
Grid grid 
)

Compute the thermal conduction flux, state->par_flx.

Parameters
[in]T3D array containing the dimensionless temperature
[in,out]statepointer to a State_1D structure
[out]dcoeffthe diffusion coefficient needed for computing the time step.
[in]beginitial index of computation
[in]endfinal index of computation
[in]gridpointer to an array of Grid structures
Returns
This function has no return value.
void TC_kappa ( double *  v,
double  x1,
double  x2,
double  x3,
double *  kpar,
double *  knor,
double *  phi 
)

Compute thermal conduction coefficients.

Parameters
[in]varray of primitive variables
[in]x1coordinate in the X1 direction
[in]x2coordinate in the X2 direction
[in]x3coordinate in the X3 direction
[out]kparpointer to the conduction coefficient $ \kappa_\parallel $ in the direction of magnetic field
[out]knorpointer to the conduction coefficient $ \kappa_\perp $ perpendicular to magnetic field
[out]phipointer to the parameter $ \phi $ controlling the magnitude of the saturated flux.