Home
last modified time | relevance | path

Searched refs:snes_power (Results 1 – 1 of 1) sorted by relevance

/petsc/src/snes/tutorials/network/
H A Dex1.c464 SNES snes, snes_power, snes_water; in main() local
730 PetscCall(SNESCreate(PETSC_COMM_WORLD, &snes_power)); in main()
731 PetscCall(SNESSetDM(snes_power, networkdm)); in main()
732 PetscCall(SNESSetOptionsPrefix(snes_power, "power_")); in main()
733 PetscCall(SNESSetFunction(snes_power, F, FormFunction, &user)); in main()
735 …PetscCall(SNESSetTolerances(snes_power, PETSC_CURRENT, PETSC_CURRENT, PETSC_CURRENT, 1, PETSC_CURR… in main()
739 PetscCall(SNESSetJacobian(snes_power, Jac, Jac, FormJacobian_subPower, &user)); in main()
740 PetscCall(SNESSetFromOptions(snes_power)); in main()
748 PetscCall(SNESGetJacobian(snes_power, &Jac, NULL, NULL, NULL)); in main()
775 PetscCall(SNESMonitorSet(snes_power, UserMonitor, &user, NULL)); in main()
[all …]