[clib] Rename inconsistent setters

This commit is contained in:
Ingmar Schoegl
2024-08-14 12:35:07 -05:00
committed by Ray Speth
parent a8df1ff22c
commit 1d24e69a5d
4 changed files with 2 additions and 14 deletions

View File

@@ -33,7 +33,7 @@ extern "C" {
CANTERA_CAPI double reactor_massFraction(int i, int k);
CANTERA_CAPI size_t reactor_nSensParams(int i);
CANTERA_CAPI int reactor_addSensitivityReaction(int i, int rxn);
CANTERA_CAPI int flowReactor_setMassFlowRate(int i, double mdot);
CANTERA_CAPI int reactor_setMassFlowRate(int i, double mdot);
CANTERA_CAPI int reactornet_new();
CANTERA_CAPI int reactornet_del(int i);

View File

@@ -9,8 +9,6 @@ ignore_files:
ignore_funcs:
ct.h:
- ct_setLogWriter
ctreactor.h:
- flowReactor_setMassFlowRate
# Replaces the name as determined by the C function prefix
# with the name of the class that function is designed to expose

View File

@@ -388,16 +388,6 @@ extern "C" {
}
}
int inlet_setSpreadRate(int i, double v)
{
try {
DomainCabinet::get<Inlet1D>(i).setSpreadRate(v);
return 0;
} catch (...) {
return handleAllExceptions(-1, ERR);
}
}
//------------------ flow domains --------------------
int flow1D_new(int iph, int ikin, int itr, int itype)

View File

@@ -191,7 +191,7 @@ extern "C" {
}
}
int flowReactor_setMassFlowRate(int i, double mdot)
int reactor_setMassFlowRate(int i, double mdot)
{
try {
ReactorCabinet::get<FlowReactor>(i).setMassFlowRate(mdot);