Lines Matching refs:mysnes
130 subroutine FormInitialGuess(mysnes, X, ierr) argument
132 type(tSNES) mysnes local
141 PetscCallA(SNESGetApplicationContext(mysnes, pctx, ierr))
302 subroutine FormJacobian(mysnes, X, jac, jac_prec, ctx, ierr) argument
304 type(tSNES) mysnes local
468 type(tSNES) mysnes variable
498 PetscCallA(SNESCreate(PETSC_COMM_WORLD, mysnes, ierr))
539 PetscCallA(SNESSetApplicationContext(mysnes, ctx, ierr))
542 PetscCallA(SNESSetFunction(mysnes, r, FormFunction, ctx, ierr))
572 PetscCallA(SNESSetJacobian(mysnes, J, J, FormJacobian, ctx, ierr))
579 PetscCallA(SNESSetFromOptions(mysnes, ierr))
589 PetscCallA(FormInitialGuess(mysnes, x, ierr))
590 PetscCallA(SNESSolve(mysnes, PETSC_NULL_VEC, x, ierr))
591 PetscCallA(SNESGetIterationNumber(mysnes, its, ierr))
604 PetscCallA(SNESDestroy(mysnes, ierr))