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/MatlabVectorToVector.cpp

    r12835 r12850  
    3131
    3232        #ifdef _HAVE_PETSC_
    33         MatlabVectorToPetscVector(&vector->vector,&dummy,mxvector);
     33        vector->pvector=MatlabVectorToPetscVec(mxvector);
    3434        #else
    35         vector->vector=MatlabVectorToSeqVec(mxvector);
     35        vector->svector=MatlabVectorToSeqVec(mxvector);
    3636        #endif
    3737       
Note: See TracChangeset for help on using the changeset viewer.