Skip to content

Commit

Permalink
Oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
termi-official committed Jan 24, 2024
1 parent 7bcc961 commit 53e919d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FEValues/common_values.jl
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Compute the spatial coordinate in a given quadrature point. `cell_coordinates` c
The coordinate is computed, using the geometric interpolation, as
``\\mathbf{x} = \\sum\\limits_{i = 1}^n M_i (\\mathbf{\\xi}) \\mathbf{\\hat{x}}_i``
"""
spatial_coordinate(ip::VectorizedInterpolation, ξ::Vec{<:Any,T}, cell_coordinates::AbstractVector{<:Vec{sdim, T}}) where {T, sdim} = spatial_coordinate(ip, ξ, cell_coordinates)
spatial_coordinate(ip::VectorizedInterpolation, ξ::Vec, cell_coordinates::AbstractVector{<:Vec{sdim, T}}) where {T, sdim} = spatial_coordinate(ip.ip, ξ, cell_coordinates)

function spatial_coordinate(interpolation::ScalarInterpolation, ξ::Vec{<:Any,T}, cell_coordinates::AbstractVector{<:Vec{sdim, T}}) where {T, sdim}
n_basefuncs = getnbasefunctions(interpolation)
Expand Down

0 comments on commit 53e919d

Please sign in to comment.