6 NAN_MODULE_INIT(InitSsmt) {
7 Nan::Set(target, New<String>(
"saturatedPressure").ToLocalChecked(),
8 GetFunction(New<FunctionTemplate>(saturatedPressure)).ToLocalChecked());
10 Nan::Set(target, New<String>(
"saturatedTemperature").ToLocalChecked(),
11 GetFunction(New<FunctionTemplate>(saturatedTemperature)).ToLocalChecked());
13 Nan::Set(target, New<String>(
"saturatedPropertiesGivenPressure").ToLocalChecked(),
14 GetFunction(New<FunctionTemplate>(saturatedPropertiesGivenPressure)).ToLocalChecked());
16 Nan::Set(target, New<String>(
"saturatedPropertiesGivenTemperature").ToLocalChecked(),
17 GetFunction(New<FunctionTemplate>(saturatedPropertiesGivenTemperature)).ToLocalChecked());
19 Nan::Set(target, New<String>(
"steamProperties").ToLocalChecked(),
20 GetFunction(New<FunctionTemplate>(steamProperties)).ToLocalChecked());
22 Nan::Set(target, New<String>(
"boiler").ToLocalChecked(),
23 GetFunction(New<FunctionTemplate>(boiler)).ToLocalChecked());
25 Nan::Set(target, New<String>(
"heatLoss").ToLocalChecked(),
26 GetFunction(New<FunctionTemplate>(heatLoss)).ToLocalChecked());
28 Nan::Set(target, New<String>(
"flashTank").ToLocalChecked(),
29 GetFunction(New<FunctionTemplate>(flashTank)).ToLocalChecked());
31 Nan::Set(target, New<String>(
"prvWithoutDesuperheating").ToLocalChecked(),
32 GetFunction(New<FunctionTemplate>(prvWithoutDesuperheating)).ToLocalChecked());
34 Nan::Set(target, New<String>(
"prvWithDesuperheating").ToLocalChecked(),
35 GetFunction(New<FunctionTemplate>(prvWithDesuperheating)).ToLocalChecked());
37 Nan::Set(target, New<String>(
"deaerator").ToLocalChecked(),
38 GetFunction(New<FunctionTemplate>(deaerator)).ToLocalChecked());
40 Nan::Set(target, New<String>(
"header").ToLocalChecked(),
41 GetFunction(New<FunctionTemplate>(header)).ToLocalChecked());
43 Nan::Set(target, New<String>(
"turbine").ToLocalChecked(),
44 GetFunction(New<FunctionTemplate>(turbine)).ToLocalChecked());
46 Nan::Set(target, New<String>(
"heatExchanger").ToLocalChecked(),
47 GetFunction(New<FunctionTemplate>(heatExchanger)).ToLocalChecked());
49 Nan::Set(target, New<String>(
"steamModeler").ToLocalChecked(),
50 GetFunction(New<FunctionTemplate>(steamModeler)).ToLocalChecked());
53 NODE_MODULE(ssmt, InitSsmt)