NAME
Eos_getAbarZbar
SYNOPSIS
call Eos_getAbarZbar(
OPTIONAL,real(IN) :: solnVec(NUNK_VARS),
OPTIONAL,real(OUT) :: abar,
OPTIONAL,real(OUT) :: zbar,
OPTIONAL,real(OUT) :: sumY,
OPTIONAL,real(OUT) :: Ye,
OPTIONAL,real(IN) :: massFrac(:) )
DESCRIPTION
Eos_getAbarZbar gets Abar, Zbar, SumY, and/or Ye for one cell.
ARGUMENTS
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