Skip to content

Commit

Permalink
Merge pull request #252 from mfem/update-notebooks
Browse files Browse the repository at this point in the history
Update notebooks
  • Loading branch information
sshiraiwa authored Oct 5, 2024
2 parents 0054c54 + 000a063 commit d28a986
Show file tree
Hide file tree
Showing 10 changed files with 420 additions and 59 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/mfem/PyMFEM/HEAD?labpath=examples%2Fjupyter)
[![badge](examples/jupyter/ex1.svg)](https://mybinder.org/v2/gh/mfem/PyMFEM/HEAD?labpath=examples%2Fjupyter%2Fex1.ipynb)
[![badge](examples/jupyter/ex9.svg)](https://mybinder.org/v2/gh/mfem/PyMFEM/HEAD?labpath=examples%2Fjupyter%2Fex9.ipynb)
[![badge](examples/jupyter/.assets/ex1.svg)](https://colab.research.google.com/github/mfem/pymfem/blob/main/examples/jupyter/ex1.ipynb)
[![badge](examples/jupyter/.assets/ex9.svg)](https://colab.research.google.com/github/mfem/pymfem/blob/main/examples/jupyter/ex9.ipynb)

# MFEM + PyMFEM (FEM library)

Expand Down Expand Up @@ -57,7 +56,7 @@ $ python setup.py install --help
This example (modified from `ex1.cpp`) solves the Poisson equation,
$$\nabla \cdot (\alpha \nabla u) = f$$
in a square and plots the result using matplotlib.
Use the badge above to open this in Binder.
Use the badge above to open this in Colab.

```python
import mfem.ser as mfem
Expand Down
3 changes: 0 additions & 3 deletions binder/postBuild

This file was deleted.

7 changes: 0 additions & 7 deletions binder/requirements.txt

This file was deleted.

128 changes: 128 additions & 0 deletions examples/jupyter/.assets/ex1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
162 changes: 162 additions & 0 deletions examples/jupyter/.assets/ex9.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions examples/jupyter/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Jupyter Versions of the Examples

[![badge](ex1.svg)](https://mybinder.org/v2/gh/mfem/PyMFEM/HEAD?labpath=examples%2Fjupyter%2Fex1.ipynb)
[![badge](ex9.svg)](https://mybinder.org/v2/gh/mfem/PyMFEM/HEAD?labpath=examples%2Fjupyter%2Fex9.ipynb)
[![badge](.assets/ex1.svg)](https://colab.research.google.com/github/mfem/pymfem/blob/main/examples/jupyter/ex1.ipynb)
[![badge](.assets/ex9.svg)](https://colab.research.google.com/github/mfem/pymfem/blob/main/examples/jupyter/ex9.ipynb)


This directory contains [Jupyter](https://jupyter.org/) versions of some of the PyMFEM examples with inline visualization using [pyglvis](https://github.com/GLVis/pyglvis).

Expand Down
Loading

0 comments on commit d28a986

Please sign in to comment.