#include <crsec2dbeam.h>
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 |
Class crsec2dbeam defines cross section for 2D beam elements.
Created by JK,
Definition at line 14 of file crsec2dbeam.h.
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.
Function changes class parameters. The function is used in stochastic or fuzzy computations.
atcs | - selected cross-section parameters (parameters which are changed) | |
val | - vector containing new values of parameters |
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.
Created by JK,
Definition at line 142 of file crsec2dbeam.cpp.
References a.
double give_density | ( | ) |
The function returns density of the cross-section.
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.
i | - array for storage of moments of inertia (output) |
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.
sc | - array for storage of shear coefficients (output) |
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.
out | - pointer to the opened text file |
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.
in | - pointer to the opened text file |
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().
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().