MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Functions/Subroutines | Variables
mod_solar_atmosphere Module Reference

User can use subroutine get_atm_para to generate 1D solar stmosphere. User should provide heights (h), number density at h=0, number of points (nh), and the gravity (grav) at each point. User can select temperature profile. This subroutine will return density and pressure at each point. More...

Functions/Subroutines

subroutine get_atm_para (h, rho, pth, grav, nh, Tcurve, hc, rhohc, Tem)
 
subroutine get_te_alc7 (h, Te, nh)
 
subroutine get_te_sprm (h, Te, nh)
 
subroutine get_te_valc (h, Te, nh)
 
subroutine get_te_hong (h, Te, nh)
 

Variables

integer n_valc
 
integer n_hong
 
integer n_fontenla
 
integer n_alc7
 
double precision, parameter solar_gravity =2.74d4
 
double precision, dimension(1:52) h_valc
 
double precision, dimension(1:52) t_valc
 
double precision, dimension(1:300) h_hong
 
double precision, dimension(1:300) t_hong
 
double precision, dimension(1:56) h_fontenla
 
double precision, dimension(1:56) t_fontenla
 
double precision, dimension(1:120) h_alc7
 
double precision, dimension(1:120) t_alc7
 

Detailed Description

User can use subroutine get_atm_para to generate 1D solar stmosphere. User should provide heights (h), number density at h=0, number of points (nh), and the gravity (grav) at each point. User can select temperature profile. This subroutine will return density and pressure at each point.

Function/Subroutine Documentation

◆ get_atm_para()

subroutine mod_solar_atmosphere::get_atm_para ( double precision, dimension(nh), intent(in)  h,
double precision, dimension(nh), intent(out)  rho,
double precision, dimension(nh), intent(out)  pth,
double precision, dimension(nh), intent(in)  grav,
integer, intent(in)  nh,
character(*)  Tcurve,
double precision  hc,
double precision  rhohc,
double precision, dimension(nh), intent(out), optional  Tem 
)

Definition at line 256 of file mod_solar_atmosphere.t.

Here is the call graph for this function:

◆ get_te_alc7()

subroutine mod_solar_atmosphere::get_te_alc7 ( double precision, dimension(nh)  h,
double precision, dimension(nh)  Te,
integer  nh 
)

Definition at line 332 of file mod_solar_atmosphere.t.

Here is the call graph for this function:

◆ get_te_hong()

subroutine mod_solar_atmosphere::get_te_hong ( double precision, dimension(nh)  h,
double precision, dimension(nh)  Te,
integer  nh 
)

Definition at line 535 of file mod_solar_atmosphere.t.

Here is the call graph for this function:

◆ get_te_sprm()

subroutine mod_solar_atmosphere::get_te_sprm ( double precision, dimension(nh)  h,
double precision, dimension(nh)  Te,
integer  nh 
)

Definition at line 392 of file mod_solar_atmosphere.t.

Here is the call graph for this function:

◆ get_te_valc()

subroutine mod_solar_atmosphere::get_te_valc ( double precision, dimension(nh)  h,
double precision, dimension(nh)  Te,
integer  nh 
)

Definition at line 475 of file mod_solar_atmosphere.t.

Here is the call graph for this function:

Variable Documentation

◆ h_alc7

double precision, dimension(1:120) mod_solar_atmosphere::h_alc7

Definition at line 16 of file mod_solar_atmosphere.t.

◆ h_fontenla

double precision, dimension(1:56) mod_solar_atmosphere::h_fontenla

Definition at line 15 of file mod_solar_atmosphere.t.

◆ h_hong

double precision, dimension(1:300) mod_solar_atmosphere::h_hong

Definition at line 14 of file mod_solar_atmosphere.t.

◆ h_valc

double precision, dimension(1:52) mod_solar_atmosphere::h_valc

Definition at line 13 of file mod_solar_atmosphere.t.

◆ n_alc7

integer mod_solar_atmosphere::n_alc7

Definition at line 11 of file mod_solar_atmosphere.t.

◆ n_fontenla

integer mod_solar_atmosphere::n_fontenla

Definition at line 11 of file mod_solar_atmosphere.t.

◆ n_hong

integer mod_solar_atmosphere::n_hong

Definition at line 11 of file mod_solar_atmosphere.t.

◆ n_valc

integer mod_solar_atmosphere::n_valc

Definition at line 11 of file mod_solar_atmosphere.t.

◆ solar_gravity

double precision, parameter mod_solar_atmosphere::solar_gravity =2.74d4

Definition at line 12 of file mod_solar_atmosphere.t.

◆ t_alc7

double precision, dimension(1:120) mod_solar_atmosphere::t_alc7

Definition at line 16 of file mod_solar_atmosphere.t.

◆ t_fontenla

double precision, dimension(1:56) mod_solar_atmosphere::t_fontenla

Definition at line 15 of file mod_solar_atmosphere.t.

◆ t_hong

double precision, dimension(1:300) mod_solar_atmosphere::t_hong

Definition at line 14 of file mod_solar_atmosphere.t.

◆ t_valc

double precision, dimension(1:52) mod_solar_atmosphere::t_valc

Definition at line 13 of file mod_solar_atmosphere.t.