MCPcopy Create free account
hub / github.com/Cantera/cantera / func_new_basic

Function func_new_basic

src/clib/ctfunc.cpp:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 }
34
35 int func_new_basic(const char* type, double c)
36 {
37 try {
38 return FuncCabinet::add(newFunc1(type, c));
39 } catch (...) {
40 return handleAllExceptions(-1, ERR);
41 }
42 }
43
44 int func_new_advanced(const char* type, size_t lenp, const double* params)
45 {

Callers 1

TESTFunction · 0.85

Calls 2

newFunc1Function · 0.85
handleAllExceptionsFunction · 0.70

Tested by 1

TESTFunction · 0.68