/[escript]/trunk/paso/src/SystemMatrix.c
ViewVC logotype

Diff of /trunk/paso/src/SystemMatrix.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 425 by gross, Tue Jan 10 04:10:39 2006 UTC revision 432 by gross, Fri Jan 13 07:38:54 2006 UTC
# Line 23  Line 23 
23     Values are initialized by zero.  */     Values are initialized by zero.  */
24    
25  Paso_SystemMatrix* Paso_SystemMatrix_alloc(Paso_SystemMatrixType type,Paso_SystemMatrixPattern *pattern, int row_block_size, int col_block_size) {  Paso_SystemMatrix* Paso_SystemMatrix_alloc(Paso_SystemMatrixType type,Paso_SystemMatrixPattern *pattern, int row_block_size, int col_block_size) {
26    
27    double time0;    double time0;
28    Paso_SystemMatrix*out=NULL;    Paso_SystemMatrix*out=NULL;
29    Paso_resetError();    Paso_resetError();
# Line 36  Paso_SystemMatrix* Paso_SystemMatrix_all Line 37  Paso_SystemMatrix* Paso_SystemMatrix_all
37       out->val=NULL;         out->val=NULL;  
38       out->reference_counter=1;       out->reference_counter=1;
39       out->type=type;       out->type=type;
   
   
40       if (type & MATRIX_FORMAT_CSC) {       if (type & MATRIX_FORMAT_CSC) {
41          if (type & MATRIX_FORMAT_SYM) {          if (type & MATRIX_FORMAT_SYM) {
42             Paso_setError(TYPE_ERROR,"Generation of matrix pattern for symmetric CSC is not implemented yet.");             Paso_setError(TYPE_ERROR,"Generation of matrix pattern for symmetric CSC is not implemented yet.");

Legend:
Removed from v.425  
changed lines
  Added in v.432

  ViewVC Help
Powered by ViewVC 1.1.26