mechcrsec.h

来自「Finite element program for mechanical pr」· C头文件 代码 · 共 69 行

H
69
字号
#ifndef MECHCRSEC_H#define MECHCRSEC_H#include "iotools.h"#include "alias.h"class crsec2dbar;class crsec2dbeam;class crsec3dbeam;class crsecplstr;class crsec3d;class crsecnod;struct ivector;struct vector;/**   class mechcrsec      it is one of the 5 most important classes of the program   (probdesc, mechtop, mechmat, mechbclc, mechcrsec)      class mechcrsec contains data about cross sections      JK, TK*/class mechcrsec{ public:  mechcrsec ();  ~mechcrsec ();  void read (XFILE *in);  void give_thickn (ivector &nod,vector &t);  void give_thicke (long eid,double &t);  void give_thickness (long eid,ivector &nodes,vector &th);  double give_onethickness (crsectype crst,long idcs);    void give_area (long ipp,double &a);  void give_mominer (long ipp,double *i);  void give_shearcoeff (long ipp,double *shearcoeff);  void give_vectorlcs (long eid,vector &vec);  void give_densityn (ivector &nod,vector &rho);  void give_densitye (long eid,double &rho);  void give_density (long eid,ivector &nodes,vector &dens);    double give_weight (crsectype cr,long idcs);    ///  number of cross section types  long ncst;    ///  cross section of 2D bar elements  crsec2dbar *cs2dbar;  ///  cross section of 2D beam elements  crsec2dbeam *cs2dbeam;  ///  cross section of 3D beam elements  crsec3dbeam *cs3dbeam;  ///  cross section for plane stress and plate problems  crsecplstr *csplstr;  ///  cross section for 3D problems  crsec3d *cs3d;  ///  cross section defined in nodes  ///  used especially in layered static analysis  crsecnod *csnod;};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?