| 
            Last change
 on this file since 11991 was             11991, checked in by Eric.Larour, 14 years ago           | 
        
        
          | 
             
oecreview from 11518 to present 
 
           | 
        
        
          | 
            File size:
            833 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [11991] | 1 | Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/src/c/modules/Solverx/Solverx.cpp
 | 
|---|
 | 2 | ===================================================================
 | 
|---|
 | 3 | --- /proj/ice/larour/issm-uci-clean/trunk-jpl/src/c/modules/Solverx/Solverx.cpp (revision 11686)
 | 
|---|
 | 4 | +++ /proj/ice/larour/issm-uci-clean/trunk-jpl/src/c/modules/Solverx/Solverx.cpp (revision 11687)
 | 
|---|
 | 5 | @@ -20,10 +20,12 @@
 | 
|---|
 | 6 |         uf=new Vector();
 | 
|---|
 | 7 |  
 | 
|---|
 | 8 |         #ifdef _HAVE_PETSC_
 | 
|---|
 | 9 | -       Vec uf0_vector=NULL;
 | 
|---|
 | 10 | -       if (uf0)uf0_vector=uf0->vector;
 | 
|---|
 | 11 | +       Vec uf0_vector = NULL;
 | 
|---|
 | 12 | +       Vec df_vector  = NULL;
 | 
|---|
 | 13 | +       if(uf0) uf0_vector=uf0->vector;
 | 
|---|
 | 14 | +       if(df)  df_vector = df->vector;
 | 
|---|
 | 15 |  
 | 
|---|
 | 16 | -       SolverxPetsc(&uf->vector, Kff->matrix, pf->vector, uf0_vector, df->vector, parameters);
 | 
|---|
 | 17 | +       SolverxPetsc(&uf->vector,Kff->matrix,pf->vector,uf0_vector,df_vector,parameters);
 | 
|---|
 | 18 |         VecGetSize(uf->vector,&uf->M);
 | 
|---|
 | 19 |         #else
 | 
|---|
 | 20 |         _error_("not supported yet!");
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.