noenergy_bcs

Module

Quick access

Variables:

bc_stellar_surface, cp, density_scale, density_scale1, hcondxbot, hcondxtop, hcondzbot, hcondztop, ilnrho_cs2, ilnrho_ee, ilnrho_eth, ilnrho_lntt, ilnrho_pp, ilnrho_ss, ilnrho_tt, ipp_cs2, ipp_ss, irho_cs2, irho_ee, irho_eth, irho_lntt, irho_pp, irho_ss, irho_tt, reference_state, ttbot, tttop

Routines:

bc_ism_energ(), bc_lnrho_hds_z_iso_energ(), bdry_magnetic(), initialize_energy_bcs()

Needed modules

Variables

  • energybcs/gamma [real,private]
  • energybcs/gamma_m1 [real,private]
  • energybcs/reference_state (*,*) [real,private/pointer]

Subroutines and functions

subroutine  energybcs/initialize_energy_bcs()
Use :

sharedvariables (get_shared_variable())

Call to:

get_gamma_etc(), not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_flux(f, topbot[, lone_sided])

constant flux boundary condition for entropy (called when bcz=’c1’)

23-jan-2002/wolf: coded 11-jun-2002/axel: moved into the entropy module

8-jul-2002/axel: split old bc_ss into two

26-aug-2003/tony: distributed across ionization modules

3-oct-16/MR: added new optional switch lone_sided

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

  • lone_sided [logical]

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_flux_turb(f, topbot)

4-may-2009/axel: dummy

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Use :

general (keep_compiler_quiet())

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_flux_turb_x(f, topbot)

31-may-2010/pete: dummy

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Use :

general (keep_compiler_quiet())

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_flux_condturb_x(f, topbot)

23-apr-2014/pete: dummy

Parameters:
Use :

general (keep_compiler_quiet())

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_flux_condturb_mean_x(f, topbot)

07-jan-2015/pete: dummy

Parameters:
Use :

general (keep_compiler_quiet())

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_flux_condturb_z(f, topbot)

15-jul-2014/pete: dummy

Parameters:
Use :

general (keep_compiler_quiet())

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_temp_old(f, topbot)

boundary condition for entropy: constant temperature

Parameters:
  • f (,,*,*) [real,inout]

  • topbot [integer,in]

Use :

general (keep_compiler_quiet())

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_temp_x(f, topbot)

boundary condition for entropy: constant temperature

3-aug-2002/wolf: coded

26-aug-2003/tony: distributed across ionization modules

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_temp_y(f, topbot)

boundary condition for entropy: constant temperature

3-aug-2002/wolf: coded

26-aug-2003/tony: distributed across ionization modules

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_temp_z(f, topbot[, lone_sided])

boundary condition for entropy: constant temperature

3-aug-2002/wolf: coded

26-aug-2003/tony: distributed across ionization modules

3-oct-16/MR: added new optional switch lone_sided

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

  • lone_sided [logical]

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_lnrho_temp_z(f, topbot)

boundary condition for lnrho and ss: constant temperature

27-sep-2002/axel: coded 19-aug-2005/tobi: distributed across ionization modules

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_lnrho_pressure_z(f, topbot)

boundary condition for lnrho: constant pressure

4-apr-2003/axel: coded 1-may-2003/axel: added the same for top boundary

19-aug-2005/tobi: distributed across ionization modules

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Use :

gravity (lnrho_bot(), lnrho_top(), ss_bot(), ss_top())

Call to:

fatal_error(), not_implemented()

subroutine  energybcs/bc_ss_temp2_z(f, topbot)

boundary condition for entropy: constant temperature

3-aug-2002/wolf: coded

26-aug-2003/tony: distributed across ionization modules

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_temp3_z(f, topbot)

31-jan-2013/axel: coded to impose cs2bot and dcs2bot at bottom

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Use :

general (keep_compiler_quiet())

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_stemp_x(f, topbot)

boundary condition for entropy: symmetric temperature

3-aug-2002/wolf: coded

26-aug-2003/tony: distributed across ionization modules

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_stemp_y(f, topbot)

boundary condition for entropy: symmetric temperature

3-aug-2002/wolf: coded

26-aug-2003/tony: distributed across ionization modules

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_stemp_z(f, topbot)

Boundary condition for entropy: symmetric temperature.

3-aug-2002/wolf: coded

26-aug-2003/tony: distributed across ionization modules

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Call to:

not_implemented(), fatal_error()

subroutine  energybcs/bc_ss_a2stemp_x(f, topbot)

boundary condition for entropy: asymmetric temperature vanishing 2nd deriv

22-sep-2010/fred: adapted from bc_ss_stemp_z

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Call to:

fatal_error(), not_implemented()

subroutine  energybcs/bc_ss_a2stemp_y(f, topbot)

boundary condition for entropy: asymmetric temperature vanishing 2nd deriv

22-sep-2010/fred: adapted from bc_ss_stemp_y

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Call to:

fatal_error(), not_implemented()

subroutine  energybcs/bc_ss_a2stemp_z(f, topbot)

boundary condition for entropy: asymmetric temperature vanishing 2nd deriv

22-sep-2010/fred: adapted from bc_ss_stemp_z

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Call to:

fatal_error(), not_implemented()

subroutine  energybcs/bc_ss_energy(f, topbot)

boundary condition for entropy

may-2002/nils: coded 11-jul-2002/nils: moved into the entropy module 26-aug-2003/tony: distributed across ionization modules

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Call to:

not_implemented()

subroutine  energybcs/bdry_magnetic(f, quench, task)
Parameters:
  • f (,,*,*) [real,in]

  • quench (*) [real,out]

  • task [character,in]

Call to:

not_implemented()

subroutine  energybcs/bc_lnrho_hds_z_iso_energ(f, topbot)
Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Call to:

not_implemented()

subroutine  energybcs/bc_ism_energ(f, topbot, j)

30-nov-15/fred: Replaced bc_ctz and bc_cdz. Apply observed scale height locally from Reynolds 1991, Manchester & Taylor 1981 for warm ionized gas - dominant scale height above 500 parsecs. Apply constant local temperature across boundary for entropy. Motivation to prevent numerical spikes in shock fronts, which cannot be absorbed in only three ghost cells, but boundary thermodynamics still responsive to interior dynamics.

Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

  • j [integer]

Call to:

not_implemented()

subroutine  energybcs/bc_stellar_surface(f, topbot)
Parameters:
  • f (,,*,*) [real]

  • topbot [integer,in]

Use :

general (keep_compiler_quiet())

Call to:

not_implemented()