Ignore:
Timestamp:
08/01/12 13:27:31 (13 years ago)
Author:
Eric.Larour
Message:

CHG: homoegeization of the matrix class. Is now split into a pector (petsc vector) and svector (sequential vector).
New objects PetscMat and PetscVec in the toolkits allow for this homoegeization. Things are not perfect yet,
as we reference the matrix and vector internals across the code, which could create some serious issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/matlab/io/matlabio.h

    r12835 r12850  
    7979/*Matlab to Petsc routines: */
    8080#ifdef _HAVE_PETSC_
    81 int MatlabMatrixToPetscMatrix(Mat* matrix,int* prows,int* pcols, const mxArray* mxmatrix);
    82 int MatlabVectorToPetscVector(Vec* pvector,int* pvector_rows,const mxArray* mxvector);
     81int MatlabMatrixToPetscMat(Mat* matrix,int* prows,int* pcols, const mxArray* mxmatrix);
     82PetscMat* MatlabMatrixToPetscMat(const mxArray* mxmatrix);
     83int MatlabVectorToPetscVec(Vec* pvector,int* pvector_rows,const mxArray* mxvector);
     84PetscVec* MatlabVectorToPetscVec(const mxArray* mxvector);
    8385#endif
    8486
Note: See TracChangeset for help on using the changeset viewer.