Changeset 26115


Ignore:
Timestamp:
03/18/21 20:41:11 (4 years ago)
Author:
Eric.Larour
Message:

CHG: new methods implemented.

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

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/toolkits/petsc/objects/PetscMat.cpp

    r24679 r26115  
    180180}
    181181/*}}}*/
     182IssmDouble* PetscMat::ToMPISerial(void){/*{{{*/
     183
     184         IssmDouble* output=NULL;
     185sa
     186         MatToMPISerial(&output,this->matrix,IssmComm::GetComm());
     187         return output;
     188
     189}
     190/*}}}*/
    182191void PetscMat::SetValues(int m,int* idxm,int n,int* idxn,IssmDouble* values,InsMode mode){/*{{{*/
    183192
  • TabularUnified issm/trunk-jpl/src/c/toolkits/petsc/objects/PetscMat.h

    r24679 r26115  
    5050                PetscMat* Duplicate(void);
    5151                IssmDouble* ToSerial(void);
     52                IssmDouble* ToMPISerial(void);
    5253                void SetValues(int m,int* idxm,int n,int* idxn,IssmDouble* values,InsMode mode);
    5354                void Convert(MatrixType type);
Note: See TracChangeset for help on using the changeset viewer.