00001 #ifndef LHSRHST_H 00002 #define LHSRHST_H 00003 00004 #include <stdio.h> 00005 #include "iotools.h" 00006 00007 /** 00008 class lhsrhst defines left and right hand side %vectors of transport problems 00009 */ 00010 00011 class lhsrhst 00012 { 00013 public: 00014 lhsrhst (void); 00015 ~lhsrhst (void); 00016 void alloc (); 00017 double *give_lhs (long lcid); 00018 double *give_lhsi (long lcid); 00019 double *give_tdlhs (long lcid); 00020 double *give_rhs (long lcid); 00021 void initcond (XFILE *in); 00022 void initcondprint (FILE *out); 00023 00024 /// number of loading cases 00025 long nlc; 00026 /// array containing left hand sides 00027 double *lhs; 00028 /// array containing initial values 00029 double *lhsi; 00030 /// array containing first time derivative of lhs array 00031 double *tdlhs; 00032 /// array containing right hand sides 00033 double *rhs; 00034 00035 }; 00036 00037 #endif