pub trait ICapeThermoPropertyRoutine {
// Required methods
fn calc_and_get_ln_phi(
&mut self,
phase_label: &CapeStringIn<'_>,
temperature: CapeReal,
pressure: CapeReal,
mole_fraction: &CapeArrayRealIn<'_>,
f_flags: CapeInteger,
ln_phi: &mut CapeArrayRealOut<'_>,
ln_phi_dt: &mut CapeArrayRealOut<'_>,
ln_phi_dp: &mut CapeArrayRealOut<'_>,
ln_phi_dn: &mut CapeArrayRealOut<'_>,
) -> Result<(), COBIAError>;
fn calc_single_phase_prop(
&mut self,
props: &CapeArrayStringIn<'_>,
phase_label: &CapeStringIn<'_>,
) -> Result<(), COBIAError>;
fn calc_two_phase_prop(
&mut self,
props: &CapeArrayStringIn<'_>,
phase_labels: &CapeArrayStringIn<'_>,
) -> Result<(), COBIAError>;
fn check_single_phase_prop_spec(
&mut self,
property: &CapeStringIn<'_>,
phase_label: &CapeStringIn<'_>,
) -> Result<CapeBoolean, COBIAError>;
fn check_two_phase_prop_spec(
&mut self,
property: &CapeStringIn<'_>,
phase_labels: &CapeArrayStringIn<'_>,
) -> Result<CapeBoolean, COBIAError>;
fn get_single_phase_prop_list(
&mut self,
props: &mut CapeArrayStringOut<'_>,
) -> Result<(), COBIAError>;
fn get_two_phase_prop_list(
&mut self,
props: &mut CapeArrayStringOut<'_>,
) -> Result<(), COBIAError>;
}Expand description
ICapeThermoPropertyRoutine
ICapeThermoPropertyRoutine interface