#include <loadn.h>
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 |
The class stores data about nodal load.
Created by JK, Modified by Tomas Koudelka,
Definition at line 17 of file loadn.h.
loadn | ( | ) |
~loadn | ( | ) |
void assemble | ( | double * | rhs | ) |
The function changes material parameters for stochastic analysis.
atln | - selected load components (components which are changed) | |
val | - array containing new values of parameters |
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.
out | - pointer to the opened text file |
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.
in | - pointer to the opened text file |
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.
in | - pointer to the opened text file | |
ndof | - maximum nuber of dofs in the nodes | |
lc | - total number of load cases |
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.
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 |
long nlc |