crsec2dbar Class Reference

#include <crsec2dbar.h>

List of all members.

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)

Detailed Description

Class crsec2dbar defines cross section for bar elements in 2D.

Created by JK

Definition at line 14 of file crsec2dbar.h.


Constructor & Destructor Documentation

crsec2dbar ( void   ) 

Constructor initializes data members to zero or default values.

Created by JK,

Definition at line 12 of file crsec2dbar.cpp.

References a, and rho.

~crsec2dbar ( void   ) 

Destructor is defined only for the formal purposes.

Created by JK,

Definition at line 24 of file crsec2dbar.cpp.


Member Function Documentation

void changeparam ( atsel atcs,
vector val 
)

The function changes corss-section parameters. It is used for stochastic calculations.

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 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.

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

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.

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

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().


Member Data Documentation

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().


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

Generated by  doxygen 1.6.2