Skip to content

About

Simple walkthrough tutorial for getting started with petsc4py

Resources

Stars

42 stars

Watchers

5 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Purpose

A set of walk-throughs to gradually learn how to use PETSc via the petsc4py package.

Contents

  1. vec_serial.py - work with vectors on a single process.
  2. mat_serial.py - work with matrices on a single process.
  3. ksp_serial.py - solve a linear system on a single process.
  4. da_serial.py - work with distributed arrays on a single process.
  5. da_maxwell_serial.py - solving maxwell's equations.

Current Issues

  1. Implement a 2D E&M solver (that will work well with both modes).

Issues for Later

  1. Remove "long way" comments in serial codes.
  2. Do something with the maxwell 3D code.

About

Simple walkthrough tutorial for getting started with petsc4py

Resources

Stars

42 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages