Changeset 12899
- Timestamp:
- 08/03/12 17:18:15 (13 years ago)
- Location:
- issm/trunk-jpl/src/c/classes/matrix
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/classes/matrix/ElementMatrix.h ¶
r12832 r12899 16 16 class Node; 17 17 class Matrix; 18 class Parameters; 18 19 /*}}}*/ 19 20 -
TabularUnified issm/trunk-jpl/src/c/classes/matrix/ElementVector.h ¶
r12832 r12899 16 16 class Node; 17 17 class Vector; 18 class Parameters; 18 19 /*}}}*/ 19 20 -
TabularUnified issm/trunk-jpl/src/c/classes/matrix/Matrix.cpp ¶
r12860 r12899 26 26 Matrix::Matrix(){ 27 27 28 pmatrix=NULL; 28 #ifdef _HAVE_PETSC_ 29 pmatrix=NULL; 30 #endif 29 31 smatrix=NULL; 30 32 … … 39 41 Matrix::Matrix(int M,int N,int in_type){ 40 42 41 pmatrix=NULL; 43 #ifdef _HAVE_PETSC_ 44 pmatrix=NULL; 45 #endif 42 46 smatrix=NULL; 43 47 type=in_type; … … 60 64 Matrix::Matrix(int M,int N,IssmDouble sparsity,int in_type){ 61 65 62 pmatrix=NULL; 66 #ifdef _HAVE_PETSC_ 67 pmatrix=NULL; 68 #endif 63 69 smatrix=NULL; 64 70 type=in_type; … … 80 86 Matrix::Matrix(IssmDouble* serial_mat, int M,int N,IssmDouble sparsity,int in_type){ 81 87 82 pmatrix=NULL; 88 #ifdef _HAVE_PETSC_ 89 pmatrix=NULL; 90 #endif 83 91 smatrix=NULL; 84 92 type=in_type; … … 101 109 Matrix::Matrix(int M,int N,int connectivity,int numberofdofspernode,int in_type){ 102 110 103 pmatrix=NULL; 111 #ifdef _HAVE_PETSC_ 112 pmatrix=NULL; 113 #endif 104 114 smatrix=NULL; 105 115 type=in_type; -
TabularUnified issm/trunk-jpl/src/c/classes/matrix/Vector.cpp ¶
r12850 r12899 25 25 Vector::Vector(){ 26 26 27 #ifdef _HAVE_PETSC_ 27 28 this->pvector=NULL; 29 #endif 28 30 this->svector=NULL; 29 31 … … 38 40 Vector::Vector(int M,bool fromlocalsize,int in_type){ 39 41 42 #ifdef _HAVE_PETSC_ 40 43 pvector=NULL; 44 #endif 41 45 svector=NULL; 42 46 type=in_type; … … 60 64 Vector::Vector(IssmDouble* serial_vec,int M,int in_type){ 61 65 66 #ifdef _HAVE_PETSC_ 62 67 pvector=NULL; 68 #endif 69 63 70 svector=NULL; 64 71 type=in_type;
Note:
See TracChangeset
for help on using the changeset viewer.