Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo: compute #452

Merged
merged 3 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/install-for-firedrake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sudo apt update
sudo apt upgrade -y
sudo apt install time

. /home/firedrake/firedrake/bin/activate
. "/home/firedrake/myvenv/bin/activate"
grep -v loopy requirements.txt > /tmp/myreq.txt

# no need for these in the Firedrake tests
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
schedule:
- cron: '17 3 * * 0'

concurrency:
group: ${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

jobs:
typos:
name: Typos
Expand Down Expand Up @@ -75,7 +79,6 @@ jobs:
- name: "Checkout"
run: |
cd /home/firedrake
export HOME="$(pwd)"
mkdir meshmode
cd meshmode
git init
Expand All @@ -84,14 +87,20 @@ jobs:
git fetch origin "$GITHUB_REF"
git checkout FETCH_HEAD

- name: "Make a venv"
run: |
cd /home/firedrake
python3 -m venv --system-site-packages myvenv

- name: "Dependencies"
run: |
cd /home/firedrake/meshmode
. .ci/install-for-firedrake.sh

- name: "Test"
run: |
cd /home/firedrake/meshmode
. /home/firedrake/firedrake/bin/activate
. /home/firedrake/myvenv/bin/activate
cd test
python -m pytest --tb=native -rxsw test_firedrake_interop.py

Expand All @@ -104,7 +113,6 @@ jobs:
- name: "Checkout"
run: |
cd /home/firedrake
export HOME="$(pwd)"
mkdir meshmode
cd meshmode
git init
Expand All @@ -113,14 +121,20 @@ jobs:
git fetch origin "$GITHUB_REF"
git checkout FETCH_HEAD

- name: "Make a venv"
run: |
cd /home/firedrake
python3 -m venv --system-site-packages myvenv

- name: "Dependencies"
run: |
cd /home/firedrake/meshmode
. .ci/install-for-firedrake.sh

- name: "Examples"
run: |
cd /home/firedrake/meshmode
. /home/firedrake/firedrake/bin/activate
. /home/firedrake/myvenv/bin/activate
. ./.ci/run_firedrake_examples.sh

examples3:
Expand Down
2 changes: 1 addition & 1 deletion meshmode/mesh/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def write_stl_file(mesh: Mesh, stl_name: str, *, overwrite: bool = False) -> Non
def visualize_mesh_vertex_resampling_error(
actx: ArrayContext, mesh: Mesh, filename: str, *,
overwrite: bool = False) -> None:
# {{{ comput resampling errors
# {{{ compute resampling errors

from meshmode.dof_array import DOFArray
from meshmode.mesh import _mesh_group_node_vertex_error
Expand Down
Loading