cantera_update_thermo_c Interface

interface

C-Binding interface for Cantera thermodynamics.


Called by

interface~~cantera_update_thermo_c~~CalledByGraph interface~cantera_update_thermo_c mod_energy::cantera_update_thermo_c proc~enthalpy_from_temperature_cantera_point mod_energy::enthalpy_from_temperature_cantera_point proc~enthalpy_from_temperature_cantera_point->interface~cantera_update_thermo_c proc~update_thermo_from_temperature_cantera mod_energy::update_thermo_from_temperature_cantera proc~update_thermo_from_temperature_cantera->interface~cantera_update_thermo_c proc~boundary_enthalpy_from_temperature mod_energy::boundary_enthalpy_from_temperature proc~boundary_enthalpy_from_temperature->proc~enthalpy_from_temperature_cantera_point proc~initialize_energy mod_energy::initialize_energy proc~initialize_energy->proc~update_thermo_from_temperature_cantera proc~advance_energy_transport mod_energy::advance_energy_transport proc~advance_energy_transport->proc~boundary_enthalpy_from_temperature program~lowmach_react_hex lowmach_react_hex program~lowmach_react_hex->proc~initialize_energy program~lowmach_react_hex->proc~advance_energy_transport

private subroutine cantera_update_thermo_c(ncells, T, P, nspecies, Y_in, h_out, cp_out, lambda_out, rho_thermo_out, T_ref, species_names_flat, name_len) bind(c, name="cantera_update_thermo_c")

Arguments

Type IntentOptional Attributes Name
integer(kind=c_int), value :: ncells
real(kind=c_double), intent(in) :: T(ncells)
real(kind=c_double), intent(in) :: P(ncells)
integer(kind=c_int), value :: nspecies
real(kind=c_double), intent(in) :: Y_in(*)
real(kind=c_double), intent(out) :: h_out(ncells)
real(kind=c_double), intent(out) :: cp_out(ncells)
real(kind=c_double), intent(out) :: lambda_out(ncells)
real(kind=c_double), intent(out) :: rho_thermo_out(ncells)
real(kind=c_double), value :: T_ref
character(kind=c_char, len=1), intent(in) :: species_names_flat(*)
integer(kind=c_int), value :: name_len