00001 #ifndef CONTACTMAT_H 00002 #define CONTACTMAT_H 00003 00004 #include "alias.h" 00005 #include "iotools.h" 00006 struct matrix; 00007 struct vector; 00008 struct atsel; 00009 00010 /** 00011 class contactmat defines material for contact problems 00012 00013 JK, 11.6.2006 00014 */ 00015 00016 class contactmat 00017 { 00018 public: 00019 contactmat (void); 00020 ~contactmat (void); 00021 void read (XFILE *in); 00022 00023 void matstiff (matrix &d,long ipp); 00024 00025 void nlstresses (long ipp, long im, long ido); 00026 void changeparam (atsel &atm,vector &val); 00027 void updateval (long ipp, long im, long ido); 00028 long sgn (double a); 00029 00030 /// stiffness along slip 00031 double slip; 00032 /// stiffness orthogonal to slip 00033 double normal; 00034 /// limit force in slip direction 00035 double limits; 00036 /// limit force in normal direction 00037 double limitn; 00038 00039 }; 00040 00041 #endif