feat(basis): Add dual-API basis function support (modern + legacy)

- New API: get_basis_functions() returns tuple of functions
- New API: get_basis_derivatives() returns tuple of gradient functions
- basis_api.jl: 210 lines implementing modern functional API
- Re-generated lagrange_generated.jl with 242 new lines
- abstract.jl: Add nnodes() method for Lagrange type
- Backward compatible: old eval_basis! API unchanged
- See ADR-003 for design rationale
This commit is contained in:
Jukka Aho
2025-11-10 22:26:23 +02:00
parent 30ca3de56a
commit 269fa9a4ad
4 changed files with 490 additions and 2 deletions
File diff suppressed because one or more lines are too long