00001 #ifndef NONLOCDAMG_H 00002 #define NONLOCDAMG_H 00003 00004 #include "iotools.h" 00005 #include "alias.h" 00006 #include "vector.h" 00007 00008 00009 00010 /** 00011 The class defines general nonlocal formulation of damage material models. 00012 00013 Created by Tomas Koudelka, 00014 */ 00015 class nonlocdamg 00016 { 00017 public : 00018 nonlocdamg(void); 00019 ~nonlocdamg(void); 00020 /// reads data from the file in 00021 long read(XFILE *in); 00022 /// prints data to the file out 00023 void print(FILE *out); 00024 /// number of averaged quantities 00025 long give_num_averq (long ipp, long im); 00026 void give_aver_quantv(long ipp,long im,long ido, vector &qv); 00027 /// averages quantities in the given integration point 00028 void average (long ipp, long im, long ido); 00029 /// returns the length of fracture process zone 00030 double give_proczonelength(long ipp, long im, long ido); 00031 00032 /// taken radius for ipp environment 00033 double r; 00034 /// flag for the averaged variable 00035 avrgf af; 00036 00037 }; 00038 #endif