#include <crsec2dbar.h>
Public Member Functions | |
void | changeparam (atsel &atcs, vector &val) |
crsec2dbar (void) | |
void | print (FILE *out) |
void | read (XFILE *in) |
~crsec2dbar (void) | |
Public Attributes | |
double | a |
area of cross section of the bar | |
double | rho |
density of material (necessary for dynamics) |
Class crsec2dbar defines cross section for bar elements in 2D.
Created by JK
Definition at line 14 of file crsec2dbar.h.
crsec2dbar | ( | void | ) |
Constructor initializes data members to zero or default values.
Created by JK,
Definition at line 12 of file crsec2dbar.cpp.
~crsec2dbar | ( | void | ) |
Destructor is defined only for the formal purposes.
Created by JK,
Definition at line 24 of file crsec2dbar.cpp.
The function changes corss-section parameters. It is used for stochastic calculations.
atcs | - selected cross-section parameters (parameters which are changed) | |
val | - vector containing new values of parameters |
Created by JK,
Definition at line 153 of file crsec2dbar.cpp.
References a, atsel::atrib, atsel::num, print_err(), and rho.
Referenced by stochdriver::changecrsections().
void print | ( | FILE * | out | ) |
Function prints data of cross-sections into the opened text file.
out | - pointer to the opened FILE |
TKr, 11/02/2013, according to read (XFILE *in)
Definition at line 95 of file crsec2dbar.cpp.
References a, eigen_dynamics, forced_dynamics, growing_mech_structure, lin_floating_subdomain, linear_statics, load_balancing, mat_nonlinear_statics, mech_timedependent_prob, Mp, nonlin_floating_subdomain, print_err(), rho, and probdesc::tprob.
Referenced by mechcrsec::printcrschar().
void read | ( | XFILE * | in | ) |
Function reads data of cross-sections from the opened text file.
in | - pointer to the opened XFILE |
Created by JK,
Definition at line 40 of file crsec2dbar.cpp.
References a, eigen_dynamics, forced_dynamics, growing_mech_structure, lin_floating_subdomain, linear_statics, load_balancing, mat_nonlinear_statics, mech_timedependent_prob, Mp, nonlin_floating_subdomain, print_err(), rho, probdesc::tprob, and xfscanf().
Referenced by mechcrsec::readcrsectype().
double a |
area of cross section of the bar
Definition at line 25 of file crsec2dbar.h.
Referenced by changeparam(), crsec2dbar(), mechcrsec::give_area(), print(), and read().
double rho |
density of material (necessary for dynamics)
Definition at line 29 of file crsec2dbar.h.
Referenced by changeparam(), crsec2dbar(), mechcrsec::give_densitye(), print(), and read().