mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[clib] Rename inconsistent setters
This commit is contained in:
committed by
Ray Speth
parent
a8df1ff22c
commit
1d24e69a5d
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user