Skip to content

Commit

Permalink
some clean up and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lijas committed May 24, 2024
1 parent b2c4758 commit a585167
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,11 @@ more discussion).
a given grid (based on its node coordinates), and returns the minimum and maximum vertices
of the bounding box. ([#880][github-880])

- CellValues and FacetValues can now store and map second order gradients (Hessians). The number
of gradients computed in CellValues/FacetValues is specified using the keyword arguments
`update_gradients::Bool` (default true) and `update_hessians::Bool` (default false) in the
constructors, i.e. `CellValues(...; update_hessians=true)`.

### Changed

- `create_sparsity_pattern` now supports cross-element dof coupling by passing kwarg
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/FEValues.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Second order gradients of the shape functions are computed as
\end{align}
```

Using the fact that $\frac{\mathrm{d}}{\mathrm{d}x_j} = J^{-1}_{sj}\frac{\mathrm{d}}{\mathrm{d}\xi_s}$, the first term in equation the equation above can be expressed as:
Using the fact that $\frac{\mathrm{d}}{\mathrm{d}x_j} = J^{-1}_{sj}\frac{\mathrm{d}}{\mathrm{d}\xi_s}$, the first term in the equation above can be expressed as:

```math
\begin{align*}
Expand Down
2 changes: 1 addition & 1 deletion src/FEValues/GeometryMapping.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ struct GeometryMapping{DiffOrder, IP, M_t, dMdξ_t, d2Mdξ2_t}
M::M_t # ::AbstractMatrix{<:Number} Values of geometric shape functions
dMdξ::dMdξ_t # ::AbstractMatrix{<:Vec} Gradients of geometric shape functions in ref-domain
d2Mdξ2::d2Mdξ2_t # ::AbstractMatrix{<:Tensor{2}} Hessians of geometric shape functions in ref-domain
# ::Nothing When not required

function GeometryMapping(
ip::IP, M::M_t, ::Nothing, ::Nothing
) where {IP <: ScalarInterpolation, M_t<:AbstractMatrix{<:Number}}
Expand Down
1 change: 0 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ include("test_utils.jl")
#include("test_interpolations.jl")
include("test_cellvalues.jl")
include("test_facevalues.jl")
asdf
include("test_interfacevalues.jl")
include("test_quadrules.jl")
include("test_assemble.jl")
Expand Down

0 comments on commit a585167

Please sign in to comment.