loadn Class Reference

#include <loadn.h>

List of all members.

Public Member Functions

void assemble (double *rhs)
void changeparam (atsel &atln, vector &val)
 loadn ()
long print (FILE *out)
long read (XFILE *in)
long read_prop (FILE *in, long ndof, long lc)
 ~loadn ()

Public Attributes

double * f
 array of load components
long nid
 number of loaded node
long nlc
 load case number

Detailed Description

The class stores data about nodal load.

Created by JK, Modified by Tomas Koudelka,

Definition at line 17 of file loadn.h.


Constructor & Destructor Documentation

loadn (  ) 

The constructor inializes attributes to zero values.

Created by JK,

Definition at line 14 of file loadn.cpp.

References f, nid, and nlc.

~loadn (  ) 

The destructor deallocates used memory.

Created by JK,

Definition at line 27 of file loadn.cpp.

References f.


Member Function Documentation

void assemble ( double *  rhs  ) 
void changeparam ( atsel atln,
vector val 
)

The function changes material parameters for stochastic analysis.

Parameters:
atln - selected load components (components which are changed)
val - array containing new values of parameters
Returns:
The function does not return anything.

Created by JK,

Definition at line 124 of file loadn.cpp.

References atsel::atrib, f, and atsel::num.

Referenced by stochdriver::changenodloads().

long print ( FILE *  out  ) 

The function prints element load into the opened text file given by the parameter out.

Parameters:
out - pointer to the opened text file
Return values:
0 - on success

TKr, 07/02/2013 according to read(XFILE *in)

Definition at line 74 of file loadn.cpp.

References f, mechtop::give_ndofn(), Mt, and nid.

Referenced by loadcase::print().

long read ( XFILE in  ) 

The function reads element load from the opened text file given by the parameter in.

Parameters:
in - pointer to the opened text file
Return values:
0 - on success

Created by JK, Modified by Tomas Koudelka, 06.2009

Definition at line 45 of file loadn.cpp.

References f, mechtop::give_ndofn(), Mt, nid, mechtop::nn, print_err(), and xfscanf().

Referenced by loadcase::read().

long read_prop ( FILE *  in,
long  ndof,
long  lc 
)

The function reads nodal load data from the opened text file given by the parameter in. It is used in the old version of mechprep preprocessor.

Parameters:
in - pointer to the opened text file
ndof - maximum nuber of dofs in the nodes
lc - total number of load cases
Return values:
0 - on success
2 - wrong load case number

Created by Tomas Koudelka

Definition at line 101 of file loadn.cpp.

References f, getdouble(), getlong(), and nlc.


Member Data Documentation

double* f

array of load components

Definition at line 33 of file loadn.h.

Referenced by loadcase::assemble(), changeparam(), loadn(), print(), read(), read_prop(), and ~loadn().

long nid

number of loaded node

Definition at line 29 of file loadn.h.

Referenced by loadn(), print(), and read().

long nlc

load case number

Definition at line 31 of file loadn.h.

Referenced by loadn(), and read_prop().


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

Generated by  doxygen 1.6.2