00001 #ifndef INICD_H 00002 #define INICD_H 00003 00004 #include "iotools.h" 00005 #include "alias.h" 00006 00007 /** 00008 The class holds data about initial condition in the given node. 00009 */ 00010 class inicd 00011 { 00012 public : 00013 inicd (void); 00014 ~inicd(void); 00015 /// function reads initial condition from the opened text file 00016 void read(XFILE *in); 00017 00018 /// function prints initial condition to the opened text file 00019 void print(FILE *out); 00020 00021 /// copies data from the parameter to the actual object 00022 void copy(inicd &ic); 00023 00024 /// merges function from the parameter with the actual object 00025 long merge(inicd &ic); 00026 00027 inictype type; ///< type of initial condition 00028 double *val; ///< values of initial conditions of given node 00029 long nval; ///< number of values 00030 }; 00031 00032 #endif