mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-17 09:12:09 +00:00
refactor(quadrature): Convert tuple to Vec when constructing IntegrationPoint
- Added Vec{D}(point) conversion before IntegrationPoint construction
- Converts tuple from quadrature rules to Vec for tensor operations
- Eliminates need for Vec{N}(ip.ξ) conversions throughout codebase
This commit is contained in:
@@ -239,8 +239,10 @@ function integration_points(scheme::Gauss{N}, topology::T) where {N,T<:AbstractT
|
||||
data_vec = collect(quad_data)
|
||||
result = ntuple(length(data_vec)) do i
|
||||
weight, point = data_vec[i]
|
||||
# Convert tuple to Vec{D}
|
||||
ξ = Vec{D}(point)
|
||||
# Use NEW API IntegrationPoint{D} (aliased as IntegrationPointNEW to avoid shadowing)
|
||||
IntegrationPointNEW{D}(point, weight)
|
||||
IntegrationPointNEW{D}(ξ, weight)
|
||||
end
|
||||
return result
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user