Changeset 15238


Ignore:
Timestamp:
06/11/13 10:31:59 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: AllocationInfo does not work for IssmMat

Location:
issm/trunk-jpl/src/c/toolkits
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/toolkits/objects/Matrix.h

    r15051 r15238  
    188188                        }
    189189                        else{
    190                                 this->imatrix->AllocationInfo();
     190                                //this->imatrix->AllocationInfo();
     191                                _error_("not supported yet");
    191192                        }
    192193                }/*}}}*/
  • issm/trunk-jpl/src/c/toolkits/petsc/objects/PetscMat.cpp

    r15104 r15238  
    177177void PetscMat::SetValues(int m,int* idxm,int n,int* idxn,IssmDouble* values,InsMode mode){
    178178
    179         MatSetValues(this->matrix,m,idxm,n,idxn,values,ISSMToPetscInsertMode(mode));
     179        PetscErrorCode ierr;
     180        ierr = MatSetValues(this->matrix,m,idxm,n,idxn,values,ISSMToPetscInsertMode(mode));
     181        //if(ierr) _error_("PETSC's MatSetValues reported an error");
    180182
    181183}
Note: See TracChangeset for help on using the changeset viewer.