Changeset 12104


Ignore:
Timestamp:
04/23/12 11:01:38 (13 years ago)
Author:
habbalf
Message:

Create dense matrix if sparsity=1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/Numerics/Matrix.cpp

    r12011 r12104  
    7474        for(i=0;i<N;i++)idxn[i]=i;
    7575
     76        printf("-------------- file: Matrix.cpp line: %i\n",__LINE__);
    7677        this->matrix=NewMat(M,N,sparsity);
     78        printf("-------------- file: Matrix.cpp line: %i\n",__LINE__);
    7779        MatSetValues(this->matrix,M,idxm,N,idxn,serial_mat,INSERT_VALUES);
     80        printf("-------------- file: Matrix.cpp line: %i\n",__LINE__);
    7881        MatAssemblyBegin(this->matrix,MAT_FINAL_ASSEMBLY);
    7982        MatAssemblyEnd(this->matrix,MAT_FINAL_ASSEMBLY);
     83        printf("-------------- file: Matrix.cpp line: %i\n",__LINE__);
    8084
    8185        xfree((void**)&idxm);
Note: See TracChangeset for help on using the changeset viewer.