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

Go to the source code of this file.

Functions/Subroutines

subroutine Multispecies_getPropertyVector (property, values)
 

Function/Subroutine Documentation

◆ Multispecies_getPropertyVector()

subroutine Multispecies_getPropertyVector ( integer, intent(in)  property,
real, dimension(:), intent(out)  values 
)

Returns the values of a property of the species name in value. The name is an integer because it is defined in Simulation.h based on Config data.

description property(defined as integer in Multispecies.h) -------------------------------------------------------------- numTotal A Total number of protons and neutrons in nucleus numPositive Z Atomic number; number of protons in nucleus numNeutral N Number of neutrons numNegative E Number of electrons bindingEnergy EB Binding energy adiabatic index GAMMA Ratio of heat capacities: Cp / Cv

property - name of property define as an integer values - vector of values of the returned property

NOTES

Species properties are normally set in Simulation_initSpecies. The simulation's Config file defines the number and names of species.

Definition at line 40 of file Multispecies_getPropertyVector.F90.