Definition at line 1505 of file cmiss_petsc.f90.
subroutine cmisspetsc::petsc_snessetjacobian::petsc_snessetjacobiansolver |
( |
type(petscsnestype), intent(inout) |
snes, |
|
|
type(petscmattype), intent(inout) |
a, |
|
|
type(petscmattype), intent(inout) |
b, |
|
|
external |
jFunction, |
|
|
type(solver_type), pointer |
ctx, |
|
|
integer(intg), intent(out) |
err, |
|
|
type(varying_string), intent(out) |
error |
|
) |
| |
|
private |
Buffer routine to the PETSc SNESSetJacobian routine for solver contexts.
- Parameters
-
[in,out] | snes | The SNES to set the function for |
[in,out] | a | The Jacobian matrix |
[in,out] | b | The Jacobian preconditioning matrix |
| jfunction | The external function to call |
| ctx | The solver data to pass to the function |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 5220 of file cmiss_petsc.f90.