00001 #ifndef CRSECPLSTR_H 00002 #define CRSECPLSTR_H 00003 00004 #include "iotools.h" 00005 struct vector; 00006 struct atsel; 00007 00008 00009 00010 00011 /** 00012 Class crsecplstr defines cross section for 2D plane problems. 00013 00014 Creatde by JK, 00015 */ 00016 class crsecplstr 00017 { 00018 public: 00019 crsecplstr (void); 00020 ~crsecplstr (void); 00021 void read (XFILE *in); 00022 void print (FILE *out); 00023 void changeparam (atsel &atcs,vector &val); 00024 00025 /// necessary components for every problem type 00026 /// thickness of the plate or plane stress problem 00027 double t; 00028 00029 /// optional components 00030 /// density of material (necessary for dynamics) 00031 double rho; 00032 00033 /// optional parameter 00034 /// concentrated mass (only for dynamic problems) 00035 /// it should be used only for cross sections defined at nodes 00036 double m; 00037 00038 }; 00039 00040 #endif