00001 #ifndef CRSECLAYER_H 00002 #define CRSECLAYER_H 00003 00004 #include "iotools.h" 00005 struct vector; 00006 struct atsel; 00007 00008 00009 00010 00011 /** 00012 Class crseclayer defines cross section for layered model of plate. 00013 00014 Created by JF 10/2014, 00015 */ 00016 class crseclayer 00017 { 00018 public: 00019 crseclayer (void); 00020 ~crseclayer (void); 00021 void read (XFILE *in); 00022 void zcoordinates (); 00023 void changeparam (atsel &atcs,vector &val); 00024 00025 /// number of layers 00026 long nl; 00027 00028 /// array with thicknesses of layers 00029 double *layth; 00030 00031 /// array with z/coordinates of layers 00032 double *layz; 00033 00034 /// thickness of plate 00035 double th; 00036 00037 /// optional components 00038 /// density of material (necessary for dynamics) 00039 double rho; 00040 00041 /// optional parameter 00042 /// concentrated mass (only for dynamic problems) 00043 /// it should be used only for cross sections defined at nodes 00044 double m; 00045 00046 }; 00047 00048 #endif