Struct sundials_sys::_generic_SUNLinearSolver_Ops[][src]

#[repr(C)]
pub struct _generic_SUNLinearSolver_Ops {
Show fields pub gettype: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> SUNLinearSolver_Type>, pub getid: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> SUNLinearSolver_ID>, pub setatimes: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_void, arg3: ATimesFn) -> c_int>, pub setpreconditioner: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_void, arg3: PSetupFn, arg4: PSolveFn) -> c_int>, pub setscalingvectors: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: N_Vector, arg3: N_Vector) -> c_int>, pub initialize: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>, pub setup: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: SUNMatrix) -> c_int>, pub solve: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: SUNMatrix, arg3: N_Vector, arg4: N_Vector, arg5: realtype) -> c_int>, pub numiters: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>, pub resnorm: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> realtype>, pub lastflag: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> sunindextype>, pub space: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_long, arg3: *mut c_long) -> c_int>, pub resid: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> N_Vector>, pub free: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>,
}

Fields

gettype: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> SUNLinearSolver_Type>getid: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> SUNLinearSolver_ID>setatimes: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_void, arg3: ATimesFn) -> c_int>setpreconditioner: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_void, arg3: PSetupFn, arg4: PSolveFn) -> c_int>setscalingvectors: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: N_Vector, arg3: N_Vector) -> c_int>initialize: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>setup: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: SUNMatrix) -> c_int>solve: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: SUNMatrix, arg3: N_Vector, arg4: N_Vector, arg5: realtype) -> c_int>numiters: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>resnorm: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> realtype>lastflag: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> sunindextype>space: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_long, arg3: *mut c_long) -> c_int>resid: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> N_Vector>free: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.