MCPcopy Create free account
hub / github.com/Cantera/cantera / setLinearSolver

Method setLinearSolver

src/numerics/SteadyStateSystem.cpp:251–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251void SteadyStateSystem::setLinearSolver(shared_ptr<SystemJacobian> solver)
252{
253 m_jac = solver;
254 m_jac->initialize(size());
255 m_jac->setBandwidth(bandwidth());
256 m_jac->clearStats();
257 m_jac_ok = false;
258}
259
260void SteadyStateSystem::evalSSJacobian(double* x, double* rsd)
261{

Callers

nothing calls this directly

Calls 3

initializeMethod · 0.45
setBandwidthMethod · 0.45
clearStatsMethod · 0.45

Tested by

no test coverage detected