Skip to content

Commit e81f9ca

Browse files
committed
Fix for nightly addition of AdjacencyList
1 parent bf1a636 commit e81f9ca

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

demo/demo_kirchhoff-love-clamped.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,6 @@ def all_boundary(x):
221221

222222
w, M = u_h.split()
223223

224-
if len(cells) > 0:
224+
if cells.array.shape[0] > 0:
225225
value = w.eval(point, cells.array[0])
226226
print(value[0])
227-
228-
# TODO: IO?

demo/demo_reissner-mindlin-clamped-tdnns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,6 @@ def all_boundary(x):
254254

255255
theta, w, M = u_h.split()
256256

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

demo/demo_reissner-mindlin-clamped.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def all_boundary(x):
232232

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

235-
if len(cells) > 0:
235+
if cells.array.shape[0] > 0:
236236
value = w.eval(point, cells.array[0])
237237
print(value[0])
238238
# NOTE: FEniCS-Shells (old dolfin) `demo/documented/reissner-mindlin-clamped`

demo/demo_reissner-mindlin-simply-supported.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def make_bc(value, V, on_boundary):
249249

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

252-
if len(cells) > 0:
252+
if cells.array.shape[0] > 0:
253253
value = w.eval(point, cells.array[0])
254254
print(value[0])
255255
# -

launch-container.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
2-
CONTAINER_ENGINE="docker"
3-
${CONTAINER_ENGINE} run -ti -v $(pwd):/shared -w /shared dolfinx/dolfinx:v0.9.0
2+
CONTAINER_ENGINE="podman"
3+
${CONTAINER_ENGINE} run -ti -v $(pwd):/shared -w /shared dolfinx/dolfinx:nightly

0 commit comments

Comments
 (0)