PLUTO  4.4-patch2
Functions
radiat.c File Reference

Right hand side for MINEq cooling. More...

#include "pluto.h"
#include "cooling_defs.h"

Functions

void Radiat (double *v, double *rhs)
 
double H_MassFrac (void)
 

Detailed Description

Authors
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
O. Tesileanu

References

Date
April 09, 2019

Function Documentation

◆ H_MassFrac()

double H_MassFrac ( void  )

Compute the mass fraction X of Hydrogen as function of the composition of the gas.

        f_H A_H

X = -------------— f_k A_k

where

f_k : is the fractional abundance (by number), f_k = N_k/N_tot of atomic species (no matter ionization degree).

A_K : is the atomic weight

where N_{tot} is the total number density of particles

ARGUMENTS

none

◆ Radiat()

void Radiat ( double *  v,
double *  rhs 
)

Cooling for optically thin plasma up to about 200,000 K Plasma composition: H, HeI-II, CI-V, NI-V, OI-V, NeI-V, SI-V Assumed abundances in elem_ab Uses S : Array = Variables vector x line points rhs : output for the system of ODE ibeg, iend : begin and end points of the current line