Skip to content

Commit

Permalink
Fix for nightly addition of AdjacencyList
Browse files Browse the repository at this point in the history
  • Loading branch information
jhale committed Dec 3, 2024
1 parent bf1a636 commit e81f9ca
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions demo/demo_kirchhoff-love-clamped.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,6 @@ def all_boundary(x):

w, M = u_h.split()

if len(cells) > 0:
if cells.array.shape[0] > 0:
value = w.eval(point, cells.array[0])
print(value[0])

# TODO: IO?
2 changes: 1 addition & 1 deletion demo/demo_reissner-mindlin-clamped-tdnns.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,6 @@ def all_boundary(x):

theta, w, M = u_h.split()

if len(cells) > 0:
if cells.array.shape[0] > 0:
value = w.eval(point, cells.array[0])
print(value[0])
2 changes: 1 addition & 1 deletion demo/demo_reissner-mindlin-clamped.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def all_boundary(x):

theta, w, R_gamma, p = u_.split()

if len(cells) > 0:
if cells.array.shape[0] > 0:
value = w.eval(point, cells.array[0])
print(value[0])
# NOTE: FEniCS-Shells (old dolfin) `demo/documented/reissner-mindlin-clamped`
Expand Down
2 changes: 1 addition & 1 deletion demo/demo_reissner-mindlin-simply-supported.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def make_bc(value, V, on_boundary):

theta, w, R_gamma, p = u_.split()

if len(cells) > 0:
if cells.array.shape[0] > 0:
value = w.eval(point, cells.array[0])
print(value[0])
# -
4 changes: 2 additions & 2 deletions launch-container.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
CONTAINER_ENGINE="docker"
${CONTAINER_ENGINE} run -ti -v $(pwd):/shared -w /shared dolfinx/dolfinx:v0.9.0
CONTAINER_ENGINE="podman"
${CONTAINER_ENGINE} run -ti -v $(pwd):/shared -w /shared dolfinx/dolfinx:nightly

0 comments on commit e81f9ca

Please sign in to comment.