dloadn Class Reference

#include <dloadn.h>

List of all members.

Public Member Functions

 dloadn ()
double getval (double t, long id)
long print (FILE *out)
long read (XFILE *in)
 ~dloadn ()

Public Attributes

gfunctgf
 array with time functions for particular load components
long idn
 number of loaded node

Detailed Description

This class defines time dependent nodal load or the load which is the function of time or displacement. The load may be described with constant values, expression defined by the string or set of strings and finally it may be described with table.

Definition at line 15 of file dloadn.h.


Constructor & Destructor Documentation

dloadn (  ) 

The constructor initializes class attributes to the zero values

Created by Tomas Koudelka

Definition at line 14 of file dloadn.cpp.

References gf, and idn.

~dloadn (  ) 

The destructor deallocates used memory.

Created by Tomas Koudelka

Definition at line 27 of file dloadn.cpp.

References gf.


Member Function Documentation

double getval ( double  t,
long  id 
)

The function return value of the dynamical nodal load for the time given by the parameter t.

Parameters:
t - required time.
id - required load component id
Returns:
The function returns value of the dynamical nodal load for the given time.

Created by JK, Tomas Koudelka, Rewritten by Tomas Koudelka, 7.7.2014

Definition at line 108 of file dloadn.cpp.

References gfunct::getval(), gf, mechtop::give_ndofn(), idn, Mt, and print_err().

Referenced by dloadcase::assemble().

long print ( FILE *  out  ) 

The function prints data for the dynamical nodal load into the opened text file given by the parameter out.

Parameters:
out - pointer to the opened text file
Return values:
0 - on success.
1 - error parsing string expression

TKr, 08/02/2013 according to read(XFILE *in) Rewritten by Tomas Koudelka, 7.7.2014

Definition at line 81 of file dloadn.cpp.

References gf, mechtop::give_ndofn(), idn, and Mt.

Referenced by dloadcase::print().

long read ( XFILE in  ) 

The function reads data for the dynamical nodal load from the opened text file given by the parameter in.

Parameters:
in - pointer to the opened text file
Return values:
0 - on success.
1 - error parsing string expression

Created by JK Modified by TKo Rewritten by Tomas Koudelka, 7.7.2014

Definition at line 47 of file dloadn.cpp.

References gf, mechtop::give_ndofn(), idn, memset(), Mt, mechtop::nn, print_err(), and xfscanf().

Referenced by dloadcase::read().


Member Data Documentation

array with time functions for particular load components

Definition at line 27 of file dloadn.h.

Referenced by dloadn(), getval(), print(), read(), and ~dloadn().

long idn

number of loaded node

Definition at line 25 of file dloadn.h.

Referenced by dloadn(), getval(), print(), and read().


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

Generated by  doxygen 1.6.2