petsc-3.7.3 2016-08-01
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>