petsc-3.6.1 2015-08-06
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 -pfdata <filename>