crsec2dbeam Class Reference

#include <crsec2dbeam.h>

List of all members.

Public Member Functions

void changeparam (atsel &atcs, vector &val)
 crsec2dbeam (void)
double give_area ()
double give_density ()
void give_moments (double *i)
void give_shearcoeff (double *sc)
void print (FILE *out)
void read (XFILE *in)
 ~crsec2dbeam (void)

Public Attributes

double a
 area of cross section of the beam
double iy
 moment of inertia of the cross section of the beam
double rho
 density of material (necessary for dynamics)
double shearcoeff
 shear coefficient
double t

Detailed Description

Class crsec2dbeam defines cross section for 2D beam elements.

Created by JK,

Definition at line 14 of file crsec2dbeam.h.


Constructor & Destructor Documentation

crsec2dbeam ( void   ) 

Constructor initializes data members to zero or default values.

Created by JK,

Definition at line 12 of file crsec2dbeam.cpp.

References a, iy, rho, shearcoeff, and t.

~crsec2dbeam ( void   ) 

Destructor releases allocated memory of the crsec2dbeam object.

Created by JK,

Definition at line 24 of file crsec2dbeam.cpp.


Member Function Documentation

void changeparam ( atsel atcs,
vector val 
)

Function changes class parameters. The function is used in stochastic or fuzzy computations.

Parameters:
atcs - selected cross-section parameters (parameters which are changed)
val - vector containing new values of parameters
Returns:
The function does not return anything.

Created by JK,

Definition at line 206 of file crsec2dbeam.cpp.

References a, atsel::atrib, iy, atsel::num, print_err(), rho, and shearcoeff.

Referenced by stochdriver::changecrsections().

double give_area (  ) 

The function returns area of the cross-section.

Returns:
The function returns corss-section area.

Created by JK,

Definition at line 142 of file crsec2dbeam.cpp.

References a.

double give_density (  ) 

The function returns density of the cross-section.

Returns:
The function returns corss-section density.

Created by JK,

Definition at line 188 of file crsec2dbeam.cpp.

References rho.

void give_moments ( double *  i  ) 

The function returns moments of inertia of the cross-section.

Parameters:
i - array for storage of moments of inertia (output)
Returns:
The function returns moments of inertia in the parameter i.

Created by JK,

Definition at line 158 of file crsec2dbeam.cpp.

References iy.

Referenced by mechcrsec::give_mominer().

void give_shearcoeff ( double *  sc  ) 

The function returns shear coefficients of the cross-section.

Parameters:
sc - array for storage of shear coefficients (output)
Returns:
The function returns shear coefficients in the parameter sc.

Created by JK,

Definition at line 174 of file crsec2dbeam.cpp.

References shearcoeff.

Referenced by mechcrsec::give_shearcoeff().

void print ( FILE *  out  ) 

Function prints parameters of cross-section of twodimensional beams into the opened text file.

Parameters:
out - pointer to the opened text file
Returns:
The function does not return anything.

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

Definition at line 92 of file crsec2dbeam.cpp.

References a, earth_pressure, eigen_dynamics, forced_dynamics, growing_mech_structure, iy, layered_linear_statics, linear_statics, mat_nonlinear_statics, mech_timedependent_prob, Mp, print_err(), rho, shearcoeff, t, and probdesc::tprob.

Referenced by mechcrsec::printcrschar().

void read ( XFILE in  ) 

Function reads parameters of cross-section of twodimensional beams from the opened text file.

Parameters:
in - pointer to the opened text file
Returns:
The function does not return anything.

Created by JK,

Definition at line 41 of file crsec2dbeam.cpp.

References a, earth_pressure, eigen_dynamics, forced_dynamics, growing_mech_structure, iy, layered_linear_statics, linear_statics, mat_nonlinear_statics, mech_timedependent_prob, Mp, print_err(), rho, shearcoeff, t, probdesc::tprob, and xfscanf().

Referenced by mechcrsec::readcrsectype().


Member Data Documentation

double a

area of cross section of the beam

Definition at line 31 of file crsec2dbeam.h.

Referenced by changeparam(), crsec2dbeam(), mechcrsec::give_area(), give_area(), print(), and read().

double iy

moment of inertia of the cross section of the beam

Definition at line 33 of file crsec2dbeam.h.

Referenced by changeparam(), crsec2dbeam(), give_moments(), print(), and read().

double rho

density of material (necessary for dynamics)

Definition at line 42 of file crsec2dbeam.h.

Referenced by changeparam(), crsec2dbeam(), give_density(), mechcrsec::give_densitye(), print(), and read().

double shearcoeff

shear coefficient

Definition at line 35 of file crsec2dbeam.h.

Referenced by changeparam(), crsec2dbeam(), give_shearcoeff(), print(), and read().

double t

height of the cross section it is used in analysis of layered beams

Definition at line 38 of file crsec2dbeam.h.

Referenced by crsec2dbeam(), mechcrsec::give_onethickness(), print(), and read().


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

Generated by  doxygen 1.6.2