You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 79d7e2f
Browse filesBrowse the repository at this point in the historyBrowse files
Update the docs for FEAScript-core 0.4.2 and the lite build
The current docs are labeled 0.4.2, and the jsDelivr example, the
version examples and llms.txt name 0.4.2.
The Installation page has a Lite build section: what the smaller file
has and leaves out, its size, the script-tag and npm forms, and that it
runs under a strict Content Security Policy. The Solvers page and the
FEAScriptModel constructor say that the lite build has only frontal
(its default) and Jacobi, and llms.txt describes the lite build for
coding assistants.
Signed-off-by: Nikos Chamakos <nikoscham@gmail.com>
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ npx -y -p node@20 -c "npm run build && npm run serve"
35
35
- Verification: `python3 scripts/generate-verification-figures.py`, which reads the Gmsh meshes from `../FEAScript-core/tests/meshes`.
36
36
- Examples: `node scripts/export-example-results.mjs` runs the Node.js examples of `../FEAScript-core` (built with `npm run build`) unchanged and records their meshes and solutions; then `python3 scripts/generate-example-figures.py` draws the geometries, meshes and results.
37
37
- Log-log plots (convergence, comparison with Elmer, solver times): `python3 scripts/generate-plot-figures.py`. Their values are those of the tables next to each plot; update both together.
38
-
-`docs/` always holds the docs of the current FEAScript-core version ("0.4.1" in the version dropdown).
38
+
-`docs/` always holds the docs of the current FEAScript-core version ("0.4.2" in the version dropdown).
39
39
-`static/llms.txt` (served at `docs.feascript.com/llms.txt`) is a hand-written, single-file API summary for AI assistants. Update it whenever the API changes: new models, options, boundary conditions or solvers.
Copy file name to clipboardExpand all lines: static/llms.txt
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# FEAScript
2
2
3
-
> FEAScript is a finite element simulation library written in JavaScript (ES modules). It runs in the browser and in Node.js. This file is a compact, exact reference of the FEAScript 0.4.1 API for AI assistants. Use only the functions, options and string values listed here: anything not listed is not supported.
3
+
> FEAScript is a finite element simulation library written in JavaScript (ES modules). It runs in the browser and in Node.js. This file is a compact, exact reference of the FEAScript 0.4.2 API for AI assistants. Use only the functions, options and string values listed here: anything not listed is not supported.
@@ -23,7 +23,9 @@ import { FEAScriptModel } from "feascript";
23
23
</script>
24
24
```
25
25
26
-
Exports: `FEAScriptModel`, `FEAScriptWorker`, `FEAScriptError`, `importGmshMesh`, `generateTriangleMesh`, `generateQuadrilateralMesh`, `logSystem`, `version` (a string constant, e.g. `"0.4.1"`), `plotSolution`, `plotInterpolatedSolution`, `plotSolutionVtk`, `plotInterpolatedSolutionVtk`, `createColorScale`, `createContourLineOptions`, `transformSolverOutputToVtkData`, `transformSolverOutputToVTP`, `transformSolverOutputToMLBuffers`, and from 0.4.1 `evaluateSolution`.
26
+
Lite build (0.4.2 and later): `https://cdn.jsdelivr.net/npm/feascript@0.4.2/dist/feascript-lite.umd.min.js` (global `FEAScript`) or `import { FEAScriptModel } from "feascript/lite"`. Same API, about 147 KB, no dependencies. Only `heatConduction`, `generalFormPDE` and `frontPropagation`, with `"frontal"` (its default) and `"jacobi"`; `creepingFlow`, `eulerBernoulliBeam`, `"lusolve"`, `"jacobi-gpu"`, `FEAScriptWorker` and the vtk.js functions throw `"UNSUPPORTED_SOLVER"`. Use it when the page needs a small file or has a strict Content Security Policy.
27
+
28
+
Exports: `FEAScriptModel`, `FEAScriptWorker`, `FEAScriptError`, `importGmshMesh`, `generateTriangleMesh`, `generateQuadrilateralMesh`, `logSystem`, `version` (a string constant, e.g. `"0.4.2"`), `plotSolution`, `plotInterpolatedSolution`, `plotSolutionVtk`, `plotInterpolatedSolutionVtk`, `createColorScale`, `createContourLineOptions`, `transformSolverOutputToVtkData`, `transformSolverOutputToVTP`, `transformSolverOutputToMLBuffers`, and from 0.4.1 `evaluateSolution`.
0 commit comments