• Stars
    star
    178
  • Rank 210,585 (Top 5 %)
  • Language
    C
  • License
    MIT License
  • Created almost 10 years ago
  • Updated 3 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

C and Python examples from my book on using PETSc and Firedrake to solve PDEs

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.

More Repositories

1

mccarthy

my slides, notes, and codes on numerical glacier and ice sheet modeling, for the International Summer School in Glaciology, McCarthy, AK
TeX
16
star
2

stokes-ice-tutorial

Python examples which use Firedrake to solve the Glen-Stokes equations for glaciers.
Python
9
star
3

karthaus

notes and codes for my numerical lectures at Karthaus (Italy) Summer School on Ice Sheets and Glaciers
TeX
4
star
4

sia-fve

implicit finite volume element (FVE) method for the shallow ice approximation (SIA) free-boundary problem ... published J. Glaciol. 2016
TeX
3
star
5

bueler.github.io

my webpage
HTML
2
star
6

fe-seminar

finite element seminar: UAF Math 692 Graduate Seminar in Spring 2023
Python
2
star
7

ml-seminar

slides and codes supporting Mathematics of Machine Learning graduate seminar (UAF Spring 2022)
TeX
2
star
8

math314

Webpage for MATH 314 Spring 2022 at UAF
TeX
1
star
9

opt

webpage for Bueler's graduate course in optimization MATH 661
TeX
1
star
10

planar-blatter

notes and Matlab codes for a FEM solver of the Blatter equations in plane flow (expository)
TeX
1
star
11

model-glacier-like

a linear coupled PDE system which is a model for the coupled system describing evolving glaciers
TeX
1
star
12

perf-model-ism

a performance analysis of time-stepping ice sheet simulations
TeX
1
star
13

nla

webpage for Bueler's graduate course in numerical linear algebra (MATH 614)
TeX
1
star
14

mg-glaciers

a review paper on the principles and practice of using multigrid methods for glacier and ice sheet models.
TeX
1
star
15

fem-code-challenge

Matlab codes and documentation related to 2005 seminar "The Math 692 one-page Matlab FEM code challenge"
TeX
1
star
16

scalable-seminar

UAF Math 692 Graduate Seminar in Spring 2023
HTML
1
star
17

fast-earth

Matlab codes for the earth deformation model in Bueler, Lingle, Brown (2007)
MATLAB
1
star
18

my-dot-files

my dot files, of course
Shell
1
star
19

layer-conserve

manuscript on mass-conserving layer models with a constraint on the conserved variable ... accepted SIAM J. Appl. Math.
TeX
1
star
20

nade

webpage for Bueler's graduate course in numerical analysis of differential equations (MATH 615)
TeX
1
star
21

popdip

POPDIP: a POsitive-variables Primal-Dual Interior Point method ... this is just for fun, not research
MATLAB
1
star
22

bod-marine

exact solution to marine ice sheet 1D problem, coming from Bodvardsson (1955) ... published
TeX
1
star
23

dae-examples

examples of differential-algebraic equations (DAEs), for now done in PETSc
C
1
star
24

stokes-implicit

a glacier model combining Stokes momentum balance and coupled, implicitly-updated geometry
Jupyter Notebook
1
star