00001 #ifndef SOURCET_H 00002 #define SOURCET_H 00003 00004 #include <stdio.h> 00005 #include "aliast.h" 00006 #include "genfile.h" 00007 #include "hydrationheat.h" 00008 //#include "cemhyd.h" 00009 00010 /** 00011 class contains model of quantity source for transport problems 00012 the class can describe, e.g., source of heat 00013 00014 JK, revised 25.6.2005 00015 */ 00016 class sourcet 00017 { 00018 public: 00019 sourcet (); 00020 ~sourcet (); 00021 long read(XFILE *in); 00022 long print(FILE *out); 00023 double giveval (long eid); 00024 long read_prop (FILE *in, long lc); 00025 long compare(sourcet &src); 00026 00027 /// type of quantity source 00028 sourcetype sourtype; 00029 00030 /// model of source of general quantity described by mathematical function 00031 gfunct *gf; 00032 /// model of heat source caused by cement hydration, amount of heat is given by a special function 00033 hydrationheat *hydrh; 00034 00035 /// model of heat source caused by cement hydration 00036 //cemhyd *cemh; 00037 00038 /// constant value of source of general quantity for stationary problems only 00039 double v; 00040 00041 }; 00042 00043 #endif