petsc-3.8.4 2018-03-24
Report Typos and Errors
PETSc SNES solver
pf.c
This example demonstrates the use of DMNetwork interface for solving a nonlinear electric power grid problem.
The available solver options are in the pfoptions file and the data files are in the datafiles directory.
The data file format used is from the MatPower package (http://www.pserc.cornell.edu//matpower/).
Run this program: mpiexec -n <n> ./pf
mpiexec -n <n> ./pf