Skip to content
forked from bueler/p4pdes

C and Python examples from my book on using PETSc (https://petsc.org) to solve PDEs

License

Notifications You must be signed in to change notification settings

maorz1998/p4pdes

 
 

Repository files navigation

p4pdes

PETSc for Partial Differential Equations is a new book on using PETSc to solve partial differential equations by modern numerical methods.

image of front cover

Order the paper book from SIAM Press or the e-book from Google Play.

This repository contains the C and Python example programs upon which the book is based. They will remain here for the long term, and be maintained for future versions of PETSc.

C examples

To compile and run the C examples, for Chapters 1 through 12, see the README.md in the c/ directory.

Python/Firedrake examples

Chapters 13 and 14 use Firedrake, a Python finite element library based on PETSc. See the README.md in the python/ directory to run these examples.

About

C and Python examples from my book on using PETSc (https://petsc.org) to solve PDEs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 62.4%
  • Python 18.2%
  • Shell 11.8%
  • Makefile 6.4%
  • MATLAB 0.6%
  • GLSL 0.4%
  • Vim Snippet 0.2%