#include <tempload.h>
Public Member Functions | |
| void | copy (tempload &tl) |
| long | read (XFILE *in, long lc, long *slc) |
| tempload () | |
| ~tempload () | |
Public Attributes | |
| long | nlc |
| load case number | |
| long | nslc |
| subload case number | |
| double | val |
| tempreture value | |
This class groups temperature load data and it is used for the mechprep preprocessor.
Definition at line 12 of file tempload.h.
| tempload | ( | ) |
This constructor initializes class attributes to the zero values.
Definition at line 9 of file tempload.cpp.
| ~tempload | ( | ) |
Destructor
Definition at line 21 of file tempload.cpp.
| void copy | ( | tempload & | tl | ) |
The function copies temperature load from the parameter tl to the given object.
Parameters :
| tl | - copied tempearture load |
Definition at line 63 of file tempload.cpp.
References nlc, nslc, and val.
Referenced by input_nod_temper().
| long read | ( | XFILE * | in, | |
| long | lc, | |||
| long * | slc = NULL | |||
| ) |
The function reads temperature load data from the MEFEL preprocessor file given by the parameter in. Parameters :
| in | - pointer to the opened text file | |
| lc | - total number of load cases | |
| slc | - pointer to array with numbers of subload cases, default value is NULL |
Returns :
| 0 | - on success | |
| 1 | - invalid load case number | |
| 2 | - error reading temperature value |
Definition at line 40 of file tempload.cpp.
References nlc, nslc, val, and xfscanf().
Referenced by input_nod_temper().
| long nlc |
load case number
Definition at line 15 of file tempload.h.
Referenced by copy(), input_nod_temper(), read(), and tempload().
| long nslc |
subload case number
Definition at line 16 of file tempload.h.
Referenced by copy(), input_nod_temper(), read(), and tempload().
| double val |
tempreture value
Definition at line 17 of file tempload.h.
Referenced by copy(), read(), and tempload().
1.6.2