Functions | |
| int | windturb_dg::init (OBJECT *parent) |
| int | windturb_dg::init_climate (void) |
| Checks for climate object and maps the climate variables to the windturb object variables. | |
Variables | |
| set | windturb_dg::phases |
| device phases (see PHASE codes) | |
| int windturb_dg::init | ( | OBJECT * | parent | ) | [inherited] |
Definition at line 181 of file windturb_dg.cpp.
References gl_warning, init_climate(), and OBJECTHDR.
| int windturb_dg::init_climate | ( | void | ) | [inherited] |
Checks for climate object and maps the climate variables to the windturb object variables.
If no climate object is linked, then default pressure, temperature, and wind speed will be used.
Definition at line 125 of file windturb_dg.cpp.
References GETADDR, gl_find_next, gl_find_objects, gl_get_property, gl_set_dependent, gl_warning, and OBJECTHDR.