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:
Jukka Aho
2025-11-21 00:28:23 +02:00
parent 5c015536a2
commit b1ad3f7c51
+1 -1
View File
@@ -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)