From 31ecd6c0dc2a5e6e06d2eaebbd2ccc371e5f6323 Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Sun, 9 Nov 2025 08:27:18 +0200 Subject: [PATCH] docs(book): Update Lagrange basis generation references MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed generator path: scripts/generate_lagrange_basis.jl → src/basis/lagrange_generator.jl - Updated execution command: now run directly with julia --project=. - Consolidated "See Also" section: removed duplicate generator reference - Clarified generator role: symbolic engine AND generation script in single file - Updated comment explaining basis functions are pregenerated (not runtime) --- docs/book/lagrange_basis_functions.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/book/lagrange_basis_functions.md b/docs/book/lagrange_basis_functions.md index b8d9a0d..6ea7511 100644 --- a/docs/book/lagrange_basis_functions.md +++ b/docs/book/lagrange_basis_functions.md @@ -186,7 +186,7 @@ create_basis_and_eval(:Tet10, "...", coords, ansatz) ```julia # Once, during development: -scripts/generate_lagrange_basis.jl +julia --project=. src/basis/lagrange_generator.jl # - Computes all bases symbolically # - Writes clean Julia code to src/basis/lagrange_generated.jl @@ -235,7 +235,6 @@ See `test/test_basis_functions.jl` for comprehensive tests. ## See Also -- `scripts/generate_lagrange_basis.jl` - Generation script +- `src/basis/lagrange_generator.jl` - Symbolic engine AND generation script (run directly) - `src/basis/lagrange_generated.jl` - Generated code (do not edit manually) -- `src/basis/lagrange_generator.jl` - Generator functions (symbolic engine) - `benchmarks/tet10_derivatives_benchmark.jl` - Performance analysis (manual vs AD)