MIDAS  0.75
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
midaspace::CrossSection Class Reference

#include <attribute.h>

Inheritance diagram for midaspace::CrossSection:
midaspace::Attribute midaspace::ProblemSubject

Public Member Functions

 CrossSection (const Problem *pd, long i)
 CONSTRUCTOR. More...
 
virtual ~CrossSection ()
 DESTRUCTOR. More...
 
virtual classID give_classid () const
 Returns classID - class identification. More...
 
virtual bool initialize_from (const char *&str, femFileFormat ff, bool all=true)
 initialize form input string More...
 
virtual void initialize (void)
 initialize yourself More...
 
CrossSectType give_type (void) const
 
CrossSectType give_loctype_or_type (void) const
 
const LCS_beamgive_lcs (void) const
 
double give_area (void) const
 
double give_width (void) const
 
double give_height (void) const
 
double give_thickness (void) const
 
double give_Iy (void) const
 
double give_Iz (void) const
 
int give_nlayers (void) const
 
const Materialgive_mat (int i) const
 
void set_type3d (void)
 
void set_lcs (LCSdirection dir, LCStype typ, long num)
 
void add_areaYyYz (double w, double h)
 
virtual void print_row (FILE *stream, femFileFormat fff, long did) const
 print row to solver input file More...
 
- Public Member Functions inherited from midaspace::Attribute
 Attribute (const Problem *pd, long gid)
 CONSTRUCTOR. More...
 
virtual ~Attribute ()
 DESTRUCTOR. More...
 
long give_sifid (void) const
 *** SET *** *** GET *** More...
 
void scan_linerec (const char *str)
 
void print_linerec (FILE *stream, bool pure) const
 
- Public Member Functions inherited from midaspace::ProblemSubject
 ProblemSubject (long gid)
 CONSTRUCTOR. More...
 
 ProblemSubject (long gid, const Problem *owner)
 CONSTRUCTOR. More...
 
virtual ~ProblemSubject ()
 DESTRUCTOR. More...
 
virtual void finitialize (void)
 finalize problem preprocessing More...
 
virtual void checkConsistency (void) const
 Checks data consistency. More...
 
void set_ID (long val)
 
long give_ID () const
 
void set_Pd (const Problem *owner)
 
const Problemgive_Pd (void) const
 

Protected Attributes

CrossSectType type
 
CrossSectType loctype
 
double width
 
double height
 
double thickness
 
bool tube
 
double bsc
 
bool cable
 
double area
 
double Iy
 
double Iz
 
double Ik
 
LCS_beamlcs
 
int nlayers
 
GPA< const Materialmats
 
- Protected Attributes inherited from midaspace::Attribute
long sifid
 
char * linerec
 
- Protected Attributes inherited from midaspace::ProblemSubject
long ID
 (global) identification number == position in list of members; zero-based numbering. More...
 
const ProblemPd
 Pointer to owner = parent problem. More...
 

Detailed Description

Definition at line 168 of file attribute.h.

Constructor & Destructor Documentation

midaspace::CrossSection::CrossSection ( const Problem pd,
long  i 
)
inline

CONSTRUCTOR.

Definition at line 199 of file attribute.h.

References area, bsc, cable, midaspace::CST_Void, height, Ik, Iy, Iz, lcs, loctype, nlayers, thickness, tube, type, and width.

virtual midaspace::CrossSection::~CrossSection ( )
inlinevirtual

DESTRUCTOR.

Definition at line 205 of file attribute.h.

References lcs.

Member Function Documentation

void midaspace::CrossSection::add_areaYyYz ( double  w,
double  h 
)
double midaspace::CrossSection::give_area ( void  ) const
inline

Definition at line 219 of file attribute.h.

References area.

Referenced by midaspace::Beam::compute_maxSigmaEq().

virtual classID midaspace::CrossSection::give_classid ( ) const
inlinevirtual

Returns classID - class identification.

Reimplemented from midaspace::Attribute.

Definition at line 208 of file attribute.h.

References midaspace::classCrossSection.

double midaspace::CrossSection::give_height ( void  ) const
inline

Definition at line 221 of file attribute.h.

References height.

Referenced by midaspace::Beam::compute_maxSigmaEq().

double midaspace::CrossSection::give_Iy ( void  ) const
inline

Definition at line 223 of file attribute.h.

References Iy.

Referenced by midaspace::Beam::compute_maxSigmaEq().

double midaspace::CrossSection::give_Iz ( void  ) const
inline

Definition at line 224 of file attribute.h.

References Iz.

Referenced by midaspace::Beam::compute_maxSigmaEq().

const LCS_beam* midaspace::CrossSection::give_lcs ( void  ) const
inline

Definition at line 218 of file attribute.h.

References lcs.

Referenced by midaspace::ElemAttribs::give_lcs_global().

CrossSectType midaspace::CrossSection::give_loctype_or_type ( void  ) const
inline
const Material* midaspace::CrossSection::give_mat ( int  i) const
inline

Definition at line 226 of file attribute.h.

References mats.

Referenced by midaspace::FElement::give_CSusage_elast_rel().

int midaspace::CrossSection::give_nlayers ( void  ) const
inline
double midaspace::CrossSection::give_thickness ( void  ) const
inline
CrossSectType midaspace::CrossSection::give_type ( void  ) const
inline

Definition at line 215 of file attribute.h.

References type.

Referenced by initialize_from(), and midaspace::PointAttribs::print_row().

double midaspace::CrossSection::give_width ( void  ) const
inline

Definition at line 220 of file attribute.h.

References width.

Referenced by midaspace::Beam::compute_maxSigmaEq().

void midaspace::CrossSection::initialize ( void  )
virtual
bool midaspace::CrossSection::initialize_from ( const char *&  str,
femFileFormat  ff,
bool  all = true 
)
virtual
void midaspace::CrossSection::print_row ( FILE *  stream,
femFileFormat  fff,
long  did 
) const
virtual
void midaspace::CrossSection::set_lcs ( LCSdirection  dir,
LCStype  typ,
long  num 
)
inline

Definition at line 230 of file attribute.h.

References _errorr, and lcs.

void midaspace::CrossSection::set_type3d ( void  )
inline

Definition at line 229 of file attribute.h.

References midaspace::CST_3d, and type.

Referenced by midaspace::Problem::give_3dCS().

Member Data Documentation

double midaspace::CrossSection::area
protected
double midaspace::CrossSection::bsc
protected

Definition at line 182 of file attribute.h.

Referenced by add_areaYyYz(), CrossSection(), initialize_from(), and print_row().

bool midaspace::CrossSection::cable
protected

Definition at line 183 of file attribute.h.

Referenced by CrossSection(), initialize(), and initialize_from().

double midaspace::CrossSection::height
protected

Definition at line 178 of file attribute.h.

Referenced by CrossSection(), give_height(), initialize(), initialize_from(), and print_row().

double midaspace::CrossSection::Ik
protected

Definition at line 187 of file attribute.h.

Referenced by add_areaYyYz(), CrossSection(), initialize(), initialize_from(), and print_row().

double midaspace::CrossSection::Iy
protected

Definition at line 187 of file attribute.h.

Referenced by add_areaYyYz(), CrossSection(), give_Iy(), initialize(), initialize_from(), and print_row().

double midaspace::CrossSection::Iz
protected

Definition at line 187 of file attribute.h.

Referenced by add_areaYyYz(), CrossSection(), give_Iz(), initialize(), initialize_from(), and print_row().

LCS_beam* midaspace::CrossSection::lcs
protected

Definition at line 190 of file attribute.h.

Referenced by CrossSection(), give_lcs(), initialize(), initialize_from(), set_lcs(), and ~CrossSection().

CrossSectType midaspace::CrossSection::loctype
protected
GPA<const Material> midaspace::CrossSection::mats
protected

Definition at line 194 of file attribute.h.

Referenced by give_mat(), and initialize_from().

int midaspace::CrossSection::nlayers
protected

Definition at line 193 of file attribute.h.

Referenced by CrossSection(), give_nlayers(), and initialize_from().

double midaspace::CrossSection::thickness
protected

Definition at line 179 of file attribute.h.

Referenced by CrossSection(), give_thickness(), initialize(), initialize_from(), and print_row().

bool midaspace::CrossSection::tube
protected

Definition at line 180 of file attribute.h.

Referenced by CrossSection(), initialize(), and initialize_from().

CrossSectType midaspace::CrossSection::type
protected
double midaspace::CrossSection::width
protected

Definition at line 178 of file attribute.h.

Referenced by CrossSection(), give_width(), initialize(), initialize_from(), and print_row().


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