00001 #ifndef DLOADN_H 00002 #define DLOADN_H 00003 00004 #include <stdio.h> 00005 #include "iotools.h" 00006 #include "genfile.h" 00007 00008 class gfunct; 00009 00010 /** 00011 This class defines time dependent nodal load or the load which is the function of time or displacement. 00012 The load may be described with constant values, expression defined by the string or set of strings and 00013 finally it may be described with table. 00014 */ 00015 class dloadn 00016 { 00017 public: 00018 dloadn(); 00019 ~dloadn(); 00020 long read(XFILE *in); 00021 long print(FILE *out); 00022 double getval(double t, long id); 00023 00024 /// number of loaded node 00025 long idn; 00026 /// array with time functions for particular load components 00027 gfunct *gf; 00028 }; 00029 00030 #endif