Skip to content

Commit 578e054

Browse files
committed
Add example, add not in readme and fix indentation in docstring
1 parent 2917e54 commit 578e054

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/build_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
build:
1616
runs-on: ubuntu-24.04
17-
container: ghcr.io/fenics/dolfinx/lab:v0.8.0
17+
container: ghcr.io/fenics/dolfinx/lab:v0.9.0
1818
env:
1919
PUBLISH_DIR: ./_build/html
2020
DISPLAY: ":99.0"
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/checkout@v4
2929

3030
- name: Install dependencies for pyvista
31-
run: apt-get update && apt-get install -y libgl1-mesa-glx libxrender1 xvfb
31+
run: apt-get update && apt-get install -y libgl1-mesa-dev xvfb
3232

3333
- name: Install dependencies
3434
run: python3 -m pip install --no-build-isolation ".[docs]"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The package is still in its early stages and many functionalities are still miss
1717
- Simplified wrapper to create MeshTags based on a list of tags and corresponding locator functions.
1818
- Maps between degrees of freedom and vertices: `vertex_to_dofmap` and `dof_to_vertex`
1919
- Blocked Newton Solver
20+
- Function evaluation at specified points
2021

2122
## Installation
2223

_toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ parts:
1111
- file: "examples/xdmf_point_cloud.py"
1212
- file: "examples/mark_entities.py"
1313
- file: "examples/blocked_solver.py"
14+
- file: "examples/evaluate_function.py"
1415
- caption: Reference
1516
chapters:
1617
- file: "docs/api.rst"

src/scifem/eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def evaluate_function(
1313
u: The function to evaluate.
1414
points: The points to evaluate the function at.
1515
broadcast: If True, the values will be broadcasted to all processes.
16-
Note:
16+
Note:
1717
Uses a global MPI call to broadcast values, thus this has to
1818
be called on all active processes synchronously.
1919
Note:

0 commit comments

Comments
 (0)