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 e42d968
Browse filesBrowse the repository at this point in the historyBrowse files
The current docs are labeled 0.4.1, and the jsDelivr example, the
version examples and llms.txt name 0.4.1. The heat conduction caution,
the error table and llms.txt say that zero flux on every boundary now
throws SINGULAR_MATRIX. The versioning note in the README says that a
function added in a patch release is marked with its version.
Signed-off-by: Nikos Chamakos <nikoscham@gmail.com>
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
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.0" in the version dropdown).
38
+
-`docs/` always holds the docs of the current FEAScript-core version ("0.4.1" 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.
40
40
41
41
## Appearance
@@ -46,7 +46,7 @@ The navbar's GitHub pill matches the website and fetches the FEAScript-core star
46
46
47
47
## Versioning
48
48
49
-
The docs keep one version per **minor** release of FEAScript-core (`MAJOR.MINOR`), labeled with its latest patch release. Patch releases do not change the API, so they get no docs version of their own.
49
+
The docs keep one version per **minor** release of FEAScript-core (`MAJOR.MINOR`), labeled with its latest patch release. Patch releases make no breaking changes, so they get no docs version of their own. A function or option added in a patch release is marked in the docs with the version that added it (for example "Added in FEAScript 0.4.1").
50
50
51
51
-`docs/` holds the docs of the latest minor version and is served at the unversioned URLs (`lastVersion: "current"` in `docusaurus.config.js`). Its label in the version dropdown is set in `docusaurus.config.js`.
52
52
- Older minor versions are snapshots in `versioned_docs/version-x.y.z/`, served at `docs.feascript.com/x.y.z/...`, with their sidebars in `versioned_sidebars/` and their names in `versions.json`.
Copy file name to clipboardExpand all lines: docs/api/feascript-model.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
@@ -217,7 +217,7 @@ An input that FEAScript cannot use, or a solve that would return an empty or a w
217
217
|`UNSUPPORTED_MESH`|A mesh the model or the Gmsh reader cannot use yet, for example creeping flow on linear elements or a Gmsh mesh that mixes element shapes |
218
218
|`UNSUPPORTED_SOLVER`| The model does not support the solver method, or `solveAsync()` cannot run the model |
219
219
|`NOT_CONVERGED`|A Jacobi solve, a front propagation or a nonlinear general-form PDE did not converge |
220
-
|`SINGULAR_MATRIX`| The system has no unique solution, for example with a zero conductivity |
220
+
|`SINGULAR_MATRIX`| The system has no unique solution, for example with a zero conductivity or zero heat flux on every boundary|
221
221
|`NON_FINITE_VALUES`|ANaN or infinite value in the assembled system or in the solution, for example from a coefficient function that returns NaN somewhere |
222
222
| `MESH_TOO_FINE` | The triangle mesh generator passed its `maxNodes` limit ([meshgenerators](./mesh-generators.md)) |
223
223
| `INTERNAL_ERROR` | A step of the frontal solver failed |
Copy file name to clipboardExpand all lines: static/llms.txt
+4-4Lines changed: 4 additions & 4 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.0 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.1 API for AI assistants. Use only the functions, options and string values listed here: anything not listed is not supported.
- `{ type: "constantTemperature", temperature }`: Dirichlet, T = temperature.
104
104
- `{ type: "convection", h, ambientTemperature }`: Robin, −k ∂T/∂n = h (T − T∞). `h` and `ambientTemperature` are numbers.
105
105
- `{ type: "symmetry" }`: zero heat flux (also the condition of a boundary without one).
106
-
- Give at least one boundary a `"constantTemperature"` or `"convection"` condition. With zero flux on every boundary the temperature is not determined: the solve does not throw, but returns meaningless values.
106
+
- Give at least one boundary a `"constantTemperature"` or `"convection"` condition. With zero flux on every boundary the temperature is not determined, and the solve throws `"SINGULAR_MATRIX"` (0.4.0 returned meaningless values instead).
0 commit comments