Skip to content

Commit d5be641

Browse files
committed
In work
1 parent c5693e7 commit d5be641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/thermomechanical_dlrbnicsx/dlrbnicsx_thermomechanical_thermal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def solve(self, mu):
373373
with MeshDeformationWrapperClass(self._mesh, self._boundaries,
374374
self.mu_ref, self.mu):
375375

376-
self._ymax.value = self._mesh.comm.allreduce(np.max(mesh.geometry.x[:, 1]), op=MPI.MAX)
376+
self._ymax.value = self._mesh.comm.allreduce(np.max(self._mesh.geometry.x[:, 1]), op=MPI.MAX)
377377
# Bilinear side assembly
378378
aM_cpp = self.bilinear_form
379379
A = dolfinx.fem.petsc.assemble_matrix(aM_cpp, bcs=self._bcsM)

0 commit comments

Comments
 (0)