FeStructs.hGo to the documentation of this file.00001 /* 00002 * File: FeStructs.h 00003 * ================== 00004 * Data structures for finite element program. 00005 * This is changed from the original program by only including 00006 * the define of OFFDBLK. 00007 * ---------------------- 00008 * Written by: 00009 * Jun Peng (junpeng@stanford.edu) 00010 * Prof. Kincho H. Law 00011 * Stanford University 00012 */ 00013 00014 #ifndef FeStructs_h 00015 #define FeStructs_h 00016 00017 struct offdblk 00018 { 00019 int row ; 00020 int beg ; 00021 struct offdblk *bnext ; 00022 struct offdblk *next ; 00023 double *nz ; 00024 }; 00025 00026 typedef struct offdblk OFFDBLK; 00027 00028 #endif 00029 00030 /************************************************************/ 00031 00032 /* 00033 * data structure 00034 * struct - pointer to pointer to nonzeros in L 00035 * struct - pointer to data structure containing nonzeros in L 00036 * struct .row - row number of i th row segment 00037 * struct .beg - begining column of i th row segment 00038 * struct .bnext - pointer to next row segment in this column block 00039 * struct .nz - pointer to coefficients of L in rowsegment i 00040 * struct .next - pointer to next row segment with the same row number 00041 * this row segment if it exists, other wise the row segment 00042 * with the next highest row number 00043 * 00044 * begblk - pointer to the first structure in each block 00045 * xblk - an integer array containint the begining column/row 00046 * of each block 00047 * penv - pointers to pointers of the nonzeros in the 00048 * profile next to the diagonal. 00049 * penv[i] - pointer to the nonzeros of L on the profile 00050 * structure next to teh diagonal 00051 * diag[i] - the i the diagonal of L 00052 */ 00053 00054 00055 |