source:
issm/oecreview/Archive/13393-13976/ISSM-13759-13760.diff@
14312
Last change on this file since 14312 was 13980, checked in by , 12 years ago | |
---|---|
File size: 4.1 KB |
-
../trunk-jpl/src/c/toolkits/issm/SeqMat.h
63 63 /*FUNCTION SeqMat(doubletype* serial_mat,int M,int N,doubletype sparsity){{{*/ 64 64 SeqMat(doubletype* serial_mat,int pM,int pN,doubletype sparsity){ 65 65 66 int i,j;67 68 66 this->M=pM; 69 67 this->N=pN; 70 68 this->matrix=NULL; -
../trunk-jpl/src/c/toolkits/plapack/patches/PlapackInvertMatrix.cpp
18 18 /*inv_A does not yet exist, inv_A was just allocated, that's all*/ 19 19 20 20 /*Error management*/ 21 int i ,j;21 int i; 22 22 23 23 /*input*/ 24 24 int mA,nA; 25 25 int local_mA,local_nA; 26 int lower_row,upper_row,range ,this_range,this_lower_row;26 int lower_row,upper_row,range; 27 27 MatType type; 28 28 29 29 /*Plapack: */ … … 40 40 /*Petsc to Plapack: */ 41 41 double *arrayA=NULL; 42 42 int* idxnA=NULL; 43 int d_nz,o_nz;44 43 45 /*Feedback to client*/46 int computation_status;47 48 44 /*Verify that A is square*/ 49 45 MatGetSize(*A,&mA,&nA); 50 46 MatGetLocalSize(*A,&local_mA,&local_nA); -
../trunk-jpl/src/c/toolkits/petsc/patches/MatMultPatch.cpp
46 46 /*error management*/ 47 47 48 48 int local_m,local_n; 49 int lower_row,upper_row,range;49 int range; 50 50 int result=1; 51 51 int sumresult; 52 52 int num_procs; -
../trunk-jpl/src/c/toolkits/petsc/patches/PetscOptionsInsertMultipleString.cpp
30 30 char* second=NULL; 31 31 char* final=NULL; 32 32 size_t len; 33 int ignore_second;34 33 int first_token=1; 35 34 36 35 PetscTokenCreate(options_string,' ',&token); -
../trunk-jpl/src/c/toolkits/petsc/patches/PetscMatrixToDoubleMatrix.cpp
20 20 21 21 void PetscMatrixToDoubleMatrix(double** pmatrix, int* prows, int* pcols,Mat petsc_matrix){ 22 22 23 int i,j,k;24 25 23 /*output: */ 26 24 double* matrix=NULL; 27 25 int rows,cols; 28 26 29 27 /*intermediary: */ 28 int i; 30 29 int* idxm=NULL; 31 30 int* idxn=NULL; 32 31 -
../trunk-jpl/src/c/toolkits/petsc/patches/NewVec.cpp
18 18 19 19 Vec NewVec(int size,COMM comm,bool fromlocalsize){ 20 20 21 int ierr;22 21 int local_size; 23 22 24 23 /*output: */ -
../trunk-jpl/src/c/toolkits/petsc/patches/NewMat.cpp
89 89 /*parameters: */ 90 90 int m,n; 91 91 int d_nz,o_nz; 92 int nnz;93 92 94 93 #if _PETSC_MAJOR_ >= 3 95 94 const MatType type; -
../trunk-jpl/src/c/toolkits/petsc/patches/VecMerge.cpp
28 28 double* values=NULL; 29 29 30 30 /*Vector sizes: */ 31 int M A,MB;31 int MB; 32 32 33 33 VecGetSize(B,&MB); 34 34
Note:
See TracBrowser
for help on using the repository browser.