Skip to content

Update Gridap requirement from =0.19.9 to =0.19.9, 0.20 - #243

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/julia/Gridap-eq-0.19.9-and-0.20
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/julia/Gridap-eq-0.19.9-and-0.20

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 19, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on Gridap to permit the latest version.

Release notes

Sourced from Gridap's releases.

v0.20.10

Gridap v0.20.10

Diff since v0.20.9

This release adds many new ReferenceFEs, within the moment-based framework recently introduced in 0.20. In particular,

  • Argyris and Morley
  • HHJ, Regge and GLS
  • Tai-Winther (conforming and nonconforming)
  • MTW

We also add a new general framework CartProdRefFE to allow users to build cartesian products of ReferenceFEs. This allows, for instance, a (Lagrange, Lagrange, Argyris) vector-valued element for Reissner–Mindlin plate bending equations.

Finally, we introduce two completely novel bases on tetrahedra, BarycentricPΛBasis and BarycentricPmΛBasis that unlock efficient and numerically stable HCurl-conforming spaces on meshes with non-oriented faces.

Merged pull requests:

Closed issues:

  • compute_field_offsets applies forward permutation instead of inverse in BlockMultiFieldStyle (#1231)
  • What about GridapTopOpt.jl? Toolbox or plugin to gridap? (#1333)
Changelog

Sourced from Gridap's changelog.

[0.20.10] - 2026-09-22

Added

  • Since PR#1335.
    • New variants (accessible via kwarg flavor=:BMM) of the BarycentricPΛBasis and BarycentricPmΛBasis bases of the PᵣrΛᵏ and P⁻ᵣrΛᵏ spaces. For form order k=1, both flavors of both bases implement a closed-form change-of-basis with respect to relabelling/permutation of the simplex vertices.
    • Added the associated reference FEs (named rotating_pλ, trimmed_pλ) which provide H(curl)-conforming FE spaces on meshes with arbitrary simplex ordering (NonOriented).
    • Initial experimental support (API is still unstable) for tensor calculus and Finite Element Exterior Calulus (FEEC): added ExteriorFormValue, a MultiValue representing alternating K-forms, with pointwise exterior calculus (wedge, interior product, Hodge star, musical isomorphisms, Koszul operator, pullback/pushforward), and lazy Field counterparts for some of them.
    • New experimental extension for Symbolic.jl (API is still unstable): it provides support of symbolic exterior calculus (exterior derivative, codifferential, Lie derivative).
  • Since PR#1336, new ReferenceFEs added to the library:
    • Added ArgyrisRefFE, the quintic C¹-conforming Argyris triangle. It comes with the new H2Conformity, which can be explicitly requested by passing any of :C1, :H2, :Hhess, :HHess.
    • Added MorleyRefFE, the quadratic nonconforming Morley triangle.
    • Added HHJRefFE, ReggeRefFE and GLSRefFE: the Hellan-Herrmann-Johnson, Regge and Gopalakrishnan-Lederer-Schoberl (second kind) triangles, of any degree r >= 0, normal-normal, tangential-tangential and normal-tangential continuous respectively.
    • Added DubinerBasis, the L2-orthonormal (Dubiner/Koornwinder) polynomial basis of P_K on the reference simplex in any dimension.
    • Added ArnoldWintherNCRefFE and ArnoldWintherCRefFE, the nonconforming (15 DoFs, P2-based) and conforming (24 DoFs, P3-based) Arnold-Winther symmetric stress triangles for mixed elasticity. Both are built as constrained subspaces of a larger prebasis, so length(get_prebasis(reffe)) > num_dofs(reffe) for them.
    • Added MardalTaiWintherRefFE, the Mardal-Tai-Winther element on triangles (9 DoFs) and tetrahedra (24 DoFs).
    • Added the missing product_rule methods for ⋅ and outer.
    • Added CartProdRefFE, the Cartesian product of reference elements sharing a polytope and a value type, stacked along a new last index: Float64 becomes VectorValue{K} and VectorValue{d} becomes TensorValue{d,K}.

Fixed

  • Fixed refine dropping the map and isperiodic fields of the CartesianDescriptor when refining a CartesianDiscreteModel. Since PR#1334.

[0.20.9] - 2026-08-17

Added

  • Better control of num_nearest_vertices for KDTreeSearch. Added a new preference set_num_nearest_vertices to set a global default for the library. Since PR#1312.
  • Add AD support for complex-valued DOFs. Since PR#1325.
  • Added Base.adjoint method for ArrayBlock. Since PR#1325.

Fixed

  • Fixed the dof signs flips for Curl-conforming reference FE bases for elements with change_dof=true. The signs are now tested for consistency with the change_dof=false version. Since PR #1315.
  • Fixed evaluation of weak forms on empty trians with inverse maps. Since PR#1316.
  • Fixed getting field type when changing domain on empty adapted triangulations. Since PR #1326.
  • Fixed broadcasting of operation on TensorValue{A,B} components, and added broadcasting to Third/HighOrderTensorValue. Since PR #1331.

Changed

  • Changed product_rule to allow for numbers of Complex type. Since PR#1325.
  • Simplified the type parameters of BernsteinBasisOnSimplex and BarycentricP(m)ΛBasisChanged. The change of coordinate matrix is always stored, with Float64 precision. Since PR#1330.

[0.20.8] - 2026-06-01

Added

  • Added type-stable methods to tensor_contraction and Base.permutedims(::MultiValue, perm): pass the arguments by Val. Since PR#1301.
  • Added compose_glues and compress_adaptivity, which are tools that can be used to compress a mesh hierarchy (several levels of refinement) into a single adapted model. Since PR#1309.

Fixed

... (truncated)

Commits
  • 24de6be Document release 0.20.10 with new Barycentric variants
  • 853eaa2 Bump version from 0.20.9 to 0.20.10
  • 8583757 Merge pull request #1340 from gridap/moment-based-reffes
  • 6fe35f7 implement scale_dof for all new reffes
  • fd9aeb1 better dof scaling tests
  • 44297b0 fix the application of DofScaling matrix D
  • 950d2f9 Update NEWS.md to reflect recent changes
  • 68d4e1d Merge pull request #1336 from gridap/moment-based-reffes
  • 56a483c add tests validating convergence rates of ConvergenceTests
  • a579aca polished ReferenceFEs table
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [Gridap](https://github.com/gridap/Gridap.jl) to permit the latest version.
- [Release notes](https://github.com/gridap/Gridap.jl/releases)
- [Changelog](https://github.com/gridap/Gridap.jl/blob/master/NEWS.md)
- [Commits](gridap/Gridap.jl@v0.19.9...v0.20.10)

---
updated-dependencies:
- dependency-name: Gridap
  dependency-version: 0.20.10
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file julia Pull requests that update julia code labels Oct 19, 2026
@github-actions

Copy link
Copy Markdown

Benchmark Results (Julia v1.13.1)

Time benchmarks
main c2b5364... main / c2b5364...
Constitutive models/Visco-elastic Ψ 19 ± 9.2 μs 13.6 ± 8.7 μs 1.39 ± 1.1
Constitutive models/Visco-elastic ∂Ψ∂F 28.8 ± 11 μs 28.9 ± 11 μs 0.998 ± 0.54
Constitutive models/Visco-elastic ∂∂Ψ∂FF 0.0435 ± 0.019 ms 0.0443 ± 0.02 ms 0.981 ± 0.63
Constitutive models/Visco-polyconvex Ψ 0.19 ± 0.03 μs 0.19 ± 0.01 μs 1 ± 0.17
Constitutive models/Visco-polyconvex ∂Ψ∂F 0.2 ± 0.001 μs 0.2 ± 0.001 μs 1 ± 0.0071
Constitutive models/Visco-polyconvex ∂∂Ψ∂FF 0.801 ± 0.011 μs 0.792 ± 0.01 μs 1.01 ± 0.019
Simulations/StaticMechanicalDirichlet 0.18 ± 0.0053 s 0.177 ± 0.0078 s 1.01 ± 0.053
Simulations/StaticMechanicalNeumann 0.15 ± 0.013 s 0.127 ± 0.013 s 1.18 ± 0.16
Simulations/ViscoElastic 1.09 ± 0.014 s 0.965 ± 0.028 s 1.13 ± 0.036
Tensor algebra/Cofactor 30 ± 10 ns 31 ± 10 ns 0.968 ± 0.45
Tensor algebra/Det(A)Inv(A') 0.05 ± 0 μs 0.05 ± 0.01 μs 1 ± 0.2
Tensor algebra/IIsym 0.04 ± 0 μs 0.04 ± 0 μs 1 ± 0
Tensor algebra/push_forward_C_to_F 0.25 ± 0.01 μs 0.261 ± 0.001 μs 0.958 ± 0.038
Tensor algebra/×ᵢ⁴ 0.04 ± 0.001 μs 0.04 ± 0 μs 1 ± 0.025
Tensor algebra/δδ_λ_2d 30 ± 0 ns 30 ± 0 ns 1 ± 0
Tensor algebra/δδ_μ_2d 30 ± 0 ns 30 ± 0 ns 1 ± 0
time_to_load 2.58 ± 0.086 s 2.73 ± 0.026 s 0.946 ± 0.033
Memory benchmarks
main c2b5364... main / c2b5364...
Constitutive models/Visco-elastic Ψ 0.186 k allocs: 25.6 kB 0.186 k allocs: 25.6 kB 1
Constitutive models/Visco-elastic ∂Ψ∂F 0.235 k allocs: 30.5 kB 0.235 k allocs: 30.5 kB 1
Constitutive models/Visco-elastic ∂∂Ψ∂FF 0.482 k allocs: 0.0562 MB 0.482 k allocs: 0.0562 MB 1
Constitutive models/Visco-polyconvex Ψ 0 allocs: 0 B 0 allocs: 0 B
Constitutive models/Visco-polyconvex ∂Ψ∂F 0 allocs: 0 B 0 allocs: 0 B
Constitutive models/Visco-polyconvex ∂∂Ψ∂FF 0 allocs: 0 B 0 allocs: 0 B
Simulations/StaticMechanicalDirichlet 1.51 M allocs: 0.108 GB 1.47 M allocs: 0.0963 GB 1.12
Simulations/StaticMechanicalNeumann 1.46 M allocs: 0.0916 GB 1.31 M allocs: 0.0798 GB 1.15
Simulations/ViscoElastic 12.7 M allocs: 0.979 GB 11.6 M allocs: 0.877 GB 1.12
Tensor algebra/Cofactor 0 allocs: 0 B 0 allocs: 0 B
Tensor algebra/Det(A)Inv(A') 0 allocs: 0 B 0 allocs: 0 B
Tensor algebra/IIsym 0 allocs: 0 B 0 allocs: 0 B
Tensor algebra/push_forward_C_to_F 0 allocs: 0 B 0 allocs: 0 B
Tensor algebra/×ᵢ⁴ 0 allocs: 0 B 0 allocs: 0 B
Tensor algebra/δδ_λ_2d 0 allocs: 0 B 0 allocs: 0 B
Tensor algebra/δδ_μ_2d 0 allocs: 0 B 0 allocs: 0 B
time_to_load 0.2 k allocs: 11.7 kB 0.2 k allocs: 11.7 kB 1

@miguelmaso miguelmaso left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking to avoid accidental merge.
Before upgrading, TensorAlgebra needs refactor to support multi-dimensional indexing for high order tensor values.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file julia Pull requests that update julia code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant