find_jacobian_non_zeros

Function find_jacobian_non_zeros 

Source
pub fn find_jacobian_non_zeros<F: NonLinearOp + NonLinearOpJacobian + ?Sized>(
    op: &F,
    x: &F::V,
    t: F::T,
) -> Vec<(usize, usize)>
Expand description

Find the non-zero entries of the $name matrix of a non-linear operator. TODO: This function is not efficient for non-host vectors and could be part of the Vector trait to allow for more efficient implementations. It’s ok for now since this is only used once during the setup phase.