tempload Class Reference

#include <tempload.h>

List of all members.

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

Detailed Description

This class groups temperature load data and it is used for the mechprep preprocessor.

Definition at line 12 of file tempload.h.


Constructor & Destructor Documentation

tempload (  ) 

This constructor initializes class attributes to the zero values.

Definition at line 9 of file tempload.cpp.

References nlc, nslc, and val.

~tempload (  ) 

Destructor

Definition at line 21 of file tempload.cpp.


Member Function Documentation

void copy ( tempload tl  ) 

The function copies temperature load from the parameter tl to the given object.

Parameters :

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 :

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 :

Return values:
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().


Member Data Documentation

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().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2