dloadcase Class Reference

#include <dloadcase.h>

List of all members.

Public Member Functions

void assemble (double *rhs, double *flv, double *lhs)
void assemble (long lcid, double *rhs, double *flv, long n, double t)
void compute_reactions (long lcid)
 dloadcase (void)
double get_pd (double time, long dof)
void print (FILE *out)
void read (XFILE *in)
void seisminit (double *seism)
void tempercontrib (long lcid, double *rhs, long n, double t)
 ~dloadcase (void)

Public Attributes

gfunctgf
 time functions
dloadnlon
long nle
 the number of loaded elements
long nln
 the number of loaded nodes
long npd
 the number of prescribed displacements
long nslc
 the number of subload cases
dloadpdpd
loadcaseslc
 subload cases
seismtool stool
 seismic tool
dynload tdl
 type of dynamic load

Detailed Description

class dloadcase defines load cases in dynamic problems

JK, 27.9.2004

Definition at line 19 of file dloadcase.h.


Constructor & Destructor Documentation

dloadcase ( void   ) 

Constructor initializes data members to zero or default values.

Created by JK, Tomas Koudelka,

Definition at line 22 of file dloadcase.cpp.

References gf, lon, nle, nln, npd, nslc, pd, and slc.

~dloadcase ( void   ) 

Destructor releases allocated memory of the dloadcase object.

Created by JK, Tomas Koudelka

Definition at line 47 of file dloadcase.cpp.

References gf, lon, pd, and slc.


Member Function Documentation

void assemble ( double *  rhs,
double *  lhs,
double *  flv 
)

Function assembles vector of right hand side with respect of left hand side node forces cause by the attained displacements.

Parameters:
rhs - right hand side vector
lhs - left hand side
flv - array of load vector caused by forces only

Created by Tomas Koudelka, 26.10.2001 Modified by Tomas Koudelka, 7.2008

Definition at line 468 of file dloadcase.cpp.

References copyv(), dloadn::getval(), mechtop::give_dof(), mechtop::give_ndofn(), lon, Mt, Ndofm, and nln.

void assemble ( long  lcid,
double *  rhs,
double *  flv,
long  n,
double  t 
)

Function assembles vector of right hand side. It is created by prescribed displacements, forces, moments, eigenstrains, etc. In case that the flv is not NULL, vector of load caused by forces only is stored in flv.

Parameters:
lcid - load case id
rhs - right hand side vector
flv - array of load vector caused by forces only
n - the number of DOFs in problem
t - actual time

Created by JK, 26.10.2001 Modified by TKo 7.2008

Definition at line 233 of file dloadcase.cpp.

References ivector::a, vector::a, seismtool::assemble(), loadcase::assemble(), cmulv(), copyv(), mechtop::elements, elprdispl(), f, dloadn::getval(), gfunct::getval(), gf, mechtop::give_code_numbers(), mechtop::give_dof(), gtopology::give_ndofe(), mechtop::give_ndofe(), mechtop::give_ndofn(), gmatrix::gmxv(), Gtm, locglob(), lon, Mmat, Mt, mtxv(), mxv(), mechtop::ne, nln, npd, nslc, nullv(), element::prescdispl, print_err(), reallocm(), reallocv(), responsespectrum, seismicload, slc, stiffmat(), stool, tdl, timedepload, timeindload, and element::tmat.

Referenced by difference_method(), general_epressure(), general_epressure_varsup(), mefel_right_hand_side(), newmark_method(), nonlin_newmark_method(), and solve_epressure().

void compute_reactions ( long  lcid  ) 
double get_pd ( double  time,
long  dof 
)

Function returns prescribed displacement for the given time and dof.

Parameters:
time - actual time
dof - DOF id
Returns:
The function returns prescribed displacement.

Created by Tomas Koudelka, 14.11.2007

Definition at line 600 of file dloadcase.cpp.

References dloadpd::getval(), gfunct::getval(), gf, Mp, nslc, pd, loadcase::pd, print_err(), slc, tdl, probdesc::time, timedepload, and timeindload.

Referenced by eldispl(), elprdispl(), and select_noddispl().

void print ( FILE *  out  ) 

Function prints characteristics of time dependent load case into the opened text file.

Parameters:
out - pointer to the opened FILE

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

Definition at line 144 of file dloadcase.cpp.

References gf, lon, nln, npd, nslc, pd, dloadpd::print(), dloadn::print(), gfunct::print(), loadcase::print(), print_err(), responsespectrum, seismicload, slc, tdl, timedepload, and timeindload.

Referenced by mechbclc::print().

void read ( XFILE in  ) 

Function reads characteristics of time dependent load case from the opened text file.

Parameters:
in - pointer to the opened XFILE

Created by JK, Tomas Koudelka, 24.7.2001

Definition at line 64 of file dloadcase.cpp.

References dynload_kwdset(), gf, lon, nln, npd, nslc, pd, print_err(), dloadpd::read(), dloadn::read(), seismtool::read(), gfunct::read(), loadcase::read(), responsespectrum, seismicload, slc, stool, tdl, timedepload, timeindload, and xfscanf().

Referenced by mechbclc::read().

void seisminit ( double *  seism  ) 
void tempercontrib ( long  lcid,
double *  rhs,
long  n,
double  t 
)

Function computes contributions from temperature changes to the nodal forces.

Parameters:
lcid - load case id
rhs - pointer to the right hand side
n - number of components of the array rhs
t - actual time

Created by JK, 21.11.2007

Definition at line 642 of file dloadcase.cpp.

References addv(), gfunct::getval(), gf, nslc, nullv(), print_err(), slc, tdl, loadcase::tempercontrib(), and timeindload.


Member Data Documentation

time functions

Definition at line 52 of file dloadcase.h.

Referenced by assemble(), dloadcase(), get_pd(), print(), read(), tempercontrib(), and ~dloadcase().

Definition at line 46 of file dloadcase.h.

Referenced by assemble(), dloadcase(), print(), read(), and ~dloadcase().

long nle

the number of loaded elements

Definition at line 42 of file dloadcase.h.

Referenced by dloadcase().

long nln

the number of loaded nodes

Definition at line 40 of file dloadcase.h.

Referenced by assemble(), dloadcase(), print(), and read().

long npd

the number of prescribed displacements

Definition at line 44 of file dloadcase.h.

Referenced by assemble(), dloadcase(), print(), and read().

long nslc

the number of subload cases

Definition at line 37 of file dloadcase.h.

Referenced by assemble(), dloadcase(), get_pd(), print(), read(), and tempercontrib().

Definition at line 47 of file dloadcase.h.

Referenced by dloadcase(), get_pd(), print(), read(), and ~dloadcase().

subload cases

Definition at line 50 of file dloadcase.h.

Referenced by assemble(), dloadcase(), get_pd(), print(), read(), tempercontrib(), and ~dloadcase().

seismic tool

Definition at line 54 of file dloadcase.h.

Referenced by assemble(), read(), and response_spectrum_method().

type of dynamic load

Definition at line 34 of file dloadcase.h.

Referenced by assemble(), get_pd(), lhsrhs::initcond(), print(), read(), and tempercontrib().


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

Generated by  doxygen 1.6.2