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 |