/[escript]/branches/domexper/finley/src/CPPAdapter/SystemMatrixAdapter.cpp
ViewVC logotype

Diff of /branches/domexper/finley/src/CPPAdapter/SystemMatrixAdapter.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 148 by jgs, Fri Jul 8 04:08:13 2005 UTC revision 149 by jgs, Thu Sep 1 03:31:39 2005 UTC
# Line 117  void SystemMatrixAdapter::saveHB(const s Line 117  void SystemMatrixAdapter::saveHB(const s
117      checkFinleyError();      checkFinleyError();
118  }  }
119    
120  void SystemMatrixAdapter::setValue(const double value) const  void SystemMatrixAdapter::resetValues() const
 {  
    Finley_SystemMatrix* system_matrix_ptr = getFinley_SystemMatrix();  
    Finley_SystemMatrix_setValues(system_matrix_ptr,value);  
    checkFinleyError();  
 }  
   
 void SystemMatrixAdapter::resetSolver() const  
121  {  {
122     Finley_SystemMatrix* system_matrix_ptr = getFinley_SystemMatrix();     Finley_SystemMatrix* system_matrix_ptr = getFinley_SystemMatrix();
123       Finley_SystemMatrix_setValues(system_matrix_ptr,0.);
124     Finley_SystemMatrix_solve_free(system_matrix_ptr);     Finley_SystemMatrix_solve_free(system_matrix_ptr);
125     checkFinleyError();     checkFinleyError();
126  }  }
                                                                                                                                                       
127    
128  }  // end of namespace  }  // end of namespace

Legend:
Removed from v.148  
changed lines
  Added in v.149

  ViewVC Help
Powered by ViewVC 1.1.26