diff --git a/include/cantera/clib/ctreactor.h b/include/cantera/clib/ctreactor.h index 4337b3c8ee..263f445af7 100644 --- a/include/cantera/clib/ctreactor.h +++ b/include/cantera/clib/ctreactor.h @@ -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); diff --git a/interfaces/sourcegen/sourcegen/csharp/config.yaml b/interfaces/sourcegen/sourcegen/csharp/config.yaml index ff948f9628..74fff35562 100644 --- a/interfaces/sourcegen/sourcegen/csharp/config.yaml +++ b/interfaces/sourcegen/sourcegen/csharp/config.yaml @@ -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 diff --git a/src/clib/ctonedim.cpp b/src/clib/ctonedim.cpp index b460950510..a751ef160c 100644 --- a/src/clib/ctonedim.cpp +++ b/src/clib/ctonedim.cpp @@ -388,16 +388,6 @@ extern "C" { } } - int inlet_setSpreadRate(int i, double v) - { - try { - DomainCabinet::get(i).setSpreadRate(v); - return 0; - } catch (...) { - return handleAllExceptions(-1, ERR); - } - } - //------------------ flow domains -------------------- int flow1D_new(int iph, int ikin, int itr, int itype) diff --git a/src/clib/ctreactor.cpp b/src/clib/ctreactor.cpp index 096a5f2680..0cf66c1a2a 100644 --- a/src/clib/ctreactor.cpp +++ b/src/clib/ctreactor.cpp @@ -191,7 +191,7 @@ extern "C" { } } - int flowReactor_setMassFlowRate(int i, double mdot) + int reactor_setMassFlowRate(int i, double mdot) { try { ReactorCabinet::get(i).setMassFlowRate(mdot);