FLASH-X
Doxygen Generated Documentation From Interface Source Code
Functions/Subroutines
Eos_getAbarZbar.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine Eos_getAbarZbar (solnVec, abar, zbar, sumY, Ye, massFrac)
 

Function/Subroutine Documentation

◆ Eos_getAbarZbar()

subroutine Eos_getAbarZbar ( real  solnVec,
real  abar,
real  zbar,
real  sumY,
real  Ye,
real  massFrac 
)

Eos_getAbarZbar gets Abar, Zbar, SumY, and/or Ye for one cell.

solnVec : optional - the solution vector for one cell

abar : optional - if present, will be filled with the average atomic mass zbar : optional - if present, will be filled with the average ionization level

sumY : optional - if present, will be filled with the inverse of the average atomic mass Ye : optional - if present, will be filled with Ye, which is defined according to Ye = zbar / abar

massFrac : this is an optional argument which may be used when there is more than one species in the simulation, as an alternative to providing the complete solution vector in solnVec

EXAMPLE

NOTES

All arguments are optional since there are different ways to provide input to the routine and different responses a caller may want.

This interface is defined in Fortran Module Eos_interface. All functions calling this routine should include a statement like use Eos_interface, ONLY : Eos_getAbarZbar

SEE ALSO

Eos

Definition at line 61 of file Eos_getAbarZbar.F90.