00001 #ifndef SIMVISCOUS_H 00002 #define SIMVISCOUS_H 00003 00004 //#include <stdio.h> 00005 #include "iotools.h" 00006 00007 00008 /** 00009 structure of the array eqother: 00010 total stresses, viscoplastic (irreversible) strain increments, 00011 previous total strains, 00012 00013 */ 00014 class simviscous 00015 { 00016 public: 00017 00018 simviscous (void); 00019 ~simviscous (void); 00020 void read (XFILE *in); 00021 double gfun (double f); 00022 double dergfun (double f); 00023 00024 /// viscosity 00025 double eta; 00026 }; 00027 00028 #endif