00001 #ifndef LHSRHS_H 00002 #define LHSRHS_H 00003 00004 #include <stdio.h> 00005 #include "iotools.h" 00006 00007 00008 00009 class lhsrhs 00010 { 00011 public: 00012 lhsrhs (); 00013 ~lhsrhs (); 00014 void alloc (); 00015 double *give_lhs (long i); 00016 double *give_tdlhs (long i); 00017 double *give_stdlhs (long i); 00018 double *give_rhs (long i); 00019 //void output (FILE *out,long lcid); 00020 void initcond (XFILE *in); 00021 void clean_lhs (); 00022 00023 /// dimension of LHS and RHS 00024 long ndof; 00025 /// number of loading cases 00026 long nlc; 00027 /// array containing left hand sides 00028 double *lhs; 00029 /// array containing time derivative of unknowns 00030 double *tdlhs; 00031 /// array containing second time derivative of unknowns 00032 double *stdlhs; 00033 /// array containing initial values of left hand sides 00034 double *lhsi; 00035 /// array containing initial values of time derivative of unknowns 00036 double *tdlhsi; 00037 /// array containing right hand sides 00038 double *rhs; 00039 /// array containing eigenvalues 00040 double *w; 00041 }; 00042 00043 #endif