Skip to content

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
a-latyshev committed Oct 13, 2024
2 parents f2bf3fe + a38f5db commit 894e36b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
build-and-test:
runs-on: ubuntu-latest
container: ghcr.io/fenics/dolfinx/lab:nightly
container: ghcr.io/fenics/dolfinx/lab:v0.9.0

env:
PYVISTA_OFF_SCREEN: true
Expand Down
2 changes: 1 addition & 1 deletion doc/demo/demo_plasticity_mohr_coulomb.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
# $$
# F(\boldsymbol{u}; \boldsymbol{v}) = \int\limits_\Omega
# \boldsymbol{\sigma}(\boldsymbol{u}) \cdot
# \boldsymbol{\varepsilon}(\boldsymbol{v}) \, \mathrm{d}\boldsymbol{x} +
# \boldsymbol{\varepsilon}(\boldsymbol{v}) \, \mathrm{d}\boldsymbol{x} -
# \int\limits_\Omega \boldsymbol{q} \cdot \boldsymbol{v} \, \mathrm{d}\boldsymbol{x} = \boldsymbol{0}, \quad
# \forall \boldsymbol{v} \in V,
# $$
Expand Down
4 changes: 2 additions & 2 deletions doc/demo/demo_plasticity_von_mises.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def sigma_external(derivatives):
# %%
u = fem.Function(V, name="displacement")
du = fem.Function(V, name="Newton_correction")
external_operator_problem = LinearProblem(J_replaced, F_replaced, Du, bcs=bcs)
external_operator_problem = LinearProblem(J_replaced, -F_replaced, Du, bcs=bcs)

# %%
# Defining a cell containing (Ri, 0) point, where we calculate a value of u
Expand Down Expand Up @@ -508,7 +508,7 @@ def sigma_external(derivatives):
sigma_n.x.array[:] = sigma.ref_coefficient.x.array

if len(points_on_process) > 0:
results[i + 1, :] = (-u.eval(points_on_process, cells)[0], loading.value / q_lim)
results[i + 1, :] = (u.eval(points_on_process, cells)[0], loading.value / q_lim)

# %% [markdown]
# ### Post-processing
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=61.0.0", "pip>=23.1"]

[project]
name = "dolfinx-external-operator"
version = "0.10.0.dev0"
version = "0.9.0"
description = "An implementation of ufl.ExternalOperator for DOLFINx"
authors = [
{ name = "Andrey Latyshev", email = "[email protected]" },
Expand All @@ -12,8 +12,8 @@ authors = [
license = { file = "LICENSE" }
readme = "README.md"
dependencies = [
"fenics-dolfinx>=0.10.0.dev0,<=0.11.0",
"fenics-ufl>=2024.3.0.dev0,<=2024.4.0",
"fenics-dolfinx>=0.9.0,<0.10.0",
"fenics-ufl>=2024.2.0,<2024.3.0",
]

[project.optional-dependencies]
Expand Down

0 comments on commit 894e36b

Please sign in to comment.