| 233 | } |
| 234 | |
| 235 | void SteadyStateSystem::resize() |
| 236 | { |
| 237 | m_state->resize(size()); |
| 238 | m_xnew.resize(size()); |
| 239 | m_newt->resize(size()); |
| 240 | m_mask.resize(size()); |
| 241 | if (!m_jac) { |
| 242 | throw CanteraError("SteadyStateSystem::resize", |
| 243 | "Jacobian evaluator must be instantiated before calling resize()"); |
| 244 | } |
| 245 | m_jac->initialize(size()); |
| 246 | m_jac->setBandwidth(bandwidth()); |
| 247 | m_jac->clearStats(); |
| 248 | m_jac_ok = false; |
| 249 | } |
| 250 | |
| 251 | void SteadyStateSystem::setLinearSolver(shared_ptr<SystemJacobian> solver) |
| 252 | { |
no test coverage detected