[input] first thermodynamical quantity (for instance the enthalpy field) from which the thermodynamical quantity resu
is to be computed.
thermo2
[input] second thermodynamical quantity (for instance the entropy field) from which the thermodynamical quantity resu
is to be computed.
nzet
[input] number of domains where resu is to be computed.
l_min
[input] index of the innermost domain is which resu is to be computed [default value: 0]; resu is computed only in domains whose indices are in [l_min,l_min+nzet-1] . In the other domains, it is set to zero.
fait
[input] pointer on the member function of class Hot_eos which performs the pointwise calculation.
Computes the total energy density from the log-enthalpy and entropy per baryon.
Parameters
ent
[input, unit: ] log-enthalpy H defined by , where e is the (total) energy density, p the pressure, n the baryon density, and the baryon mass
sb
[input, unit: ] entropy per baryon
nzet
number of domains where the energy density is to be computed.
l_min
index of the innermost domain is which the energy density is to be computed [default value: 0]; the energy density is computed only in domains whose indices are in [l_min,l_min+nzet-1] . In the other domains, it is set to zero.
2 = non-relativistic ideal gas (class Ideal_gas_norel ).
The second line in the file should contain a name given by the user to the EOS. The following lines should contain the EOS parameters (one parameter per line), in the same order than in the class declaration.
Computes the baryon density field from the log-enthalpy field and entropy per baryon.
Parameters
ent
[input, unit: ] log-enthalpy H defined by , where e is the (total) energy density, p the pressure, n the baryon density, and the baryon mass
sb
[input, unit: ] entropy per baryon
nzet
number of domains where the baryon density is to be computed.
l_min
index of the innermost domain is which the baryon density is to be computed [default value: 0]; the baryon density is computed only in domains whose indices are in [l_min,l_min+nzet-1] . In the other domains, it is set to zero.
Computes the pressure from the log-enthalpy and entropy per baryon.
Parameters
ent
[input, unit: ] log-enthalpy H defined by , where e is the (total) energy density, p the pressure, n the baryon density, and the baryon mass
sb
[input, unit: ] entropy per baryon
nzet
number of domains where the pressure is to be computed.
l_min
index of the innermost domain is which the pressure is to be computed [default value: 0]; the pressure is computed only in domains whose indices are in [l_min,l_min+nzet-1] . In the other domains, it is set to zero.
Computes the temperature field from the log-enthalpy field and entropy per baryon.
Parameters
ent
[input, unit: ] log-enthalpy H defined by , where e is the (total) energy density, p the pressure, n the baryon density, and the baryon mass
sb
[input, unit: ] entropy per baryon
nzet
number of domains where the baryon density is to be computed.
l_min
index of the innermost domain is which the baryon density is to be computed [default value: 0]; the baryon density is computed only in domains whose indices are in [l_min,l_min+nzet-1] . In the other domains, it is set to zero.