108 |
checkFinleyError(); |
checkFinleyError(); |
109 |
} |
} |
110 |
|
|
111 |
void SystemMatrixAdapter:: setValue(const double value) const |
void SystemMatrixAdapter::setValue(const double value) const |
112 |
{ |
{ |
113 |
Finley_SystemMatrix* system_matrix_ptr = getFinley_SystemMatrix(); |
Finley_SystemMatrix* system_matrix_ptr = getFinley_SystemMatrix(); |
114 |
Finley_SystemMatrix_setValues(system_matrix_ptr,value); |
Finley_SystemMatrix_setValues(system_matrix_ptr,value); |
115 |
checkFinleyError(); |
checkFinleyError(); |
116 |
} |
} |
117 |
|
|
118 |
|
void SystemMatrixAdapter::resetSolver() const |
119 |
|
{ |
120 |
|
Finley_SystemMatrix* system_matrix_ptr = getFinley_SystemMatrix(); |
121 |
|
Finley_SystemMatrix_solve_free(system_matrix_ptr); |
122 |
|
checkFinleyError(); |
123 |
|
} |
124 |
|
|
125 |
|
|
126 |
} // end of namespace |
} // end of namespace |