Skip to content

update NonlinearSolver trait so that solve_in_place takes a VectorViewMut rather than a &mut Vector #155

@martinjrobins

Description

@martinjrobins

as per title, see https://docs.rs/diffsol/latest/diffsol/nonlinear_solver/trait.NonLinearSolver.html#tymethod.solve_in_place

This would allow the solvers to directly do the solve in each column of the diff matrix, which would mean that the old_state does not need to be stored, a significant storage reduction for the bdf and sdirk solvers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions