Ignore:
Timestamp:
03/13/12 19:59:59 (13 years ago)
Author:
Eric.Larour
Message:

Completed separation of Petsc from ISSM. Matrix and Vector
are now the vehicles for Mat and Vec objects when running with
Petsc, or double* when running with a custom made type of matrix (still
to be finished).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/Inputs/PentaP1Input.cpp

    r11292 r11695  
    660660/*}}}*/
    661661/*FUNCTION PentaP1Input::GetVectorFromInputs{{{1*/
    662 void PentaP1Input::GetVectorFromInputs(Vec vector,int* doflist){
     662void PentaP1Input::GetVectorFromInputs(Vector* vector,int* doflist){
    663663
    664664        const int numvertices=6;
    665         VecSetValues(vector,numvertices,doflist,(const double*)this->values,INSERT_VALUES);
     665        vector->SetValues(numvertices,doflist,this->values,INS_VAL);
    666666
    667667} /*}}}*/
Note: See TracChangeset for help on using the changeset viewer.