mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-26 20:01:32 +00:00
fix(assemblers): Update create_element_cache to new Lagrange{P} API
- Changed basis instantiation from 'Lagrange{TopologyType,1}()' to 'Lagrange{1}()' (line 123)
- Added comment explaining new API: basis order only, topology passed separately
This commit is contained in:
@@ -120,7 +120,7 @@ function create_element_cache(mesh::AbstractMesh, kernel::AbstractKernel)
|
||||
|
||||
# Pre-compute topology, basis, and integration points
|
||||
topology = TopologyType()
|
||||
basis = Lagrange{TopologyType,1}()
|
||||
basis = Lagrange{1}() # New API: basis order only (topology passed separately)
|
||||
integration_scheme = default_integration(TopologyType)
|
||||
ips = integration_points(integration_scheme, topology)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user