Hecate Input Schema
Input schema for Hecate, for generating PDE simulation code
| Type | object |
|---|---|
| File match |
*.hecate.yml
*.hecate.yaml
*.hecate
*.hecate.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/hecate-input-schema/latest.json |
| Source | https://raw.githubusercontent.com/ShaitanLyss/these/main/hecate/hecate-json-schema.json |
Validate with Lintel
npx @lintel/lintel check
The input schema for Hecate.
Properties
The available equations.
The available functions. They can either be simple function expression, or a list of function expression with conditions.
The available meshes.
The available parameters.
The equation(s) to solve and the mesh to use.
6 nested properties
The finite element to use for the mesh.
The equation(s) to solve
The mesh to use
A time.
The dimension of the problem Possible values: 1, 2, 3
The time range to solve.
The available unknowns.
The configuration for the generation of the code.
3 nested properties
Whether to generate debug code.
Whether to generate matrix free code.
Whether to generate MPI code.
Definitions
A function expression. Available variables are : t, x, y, z. Math functions such as cosinus or exponentials are available. They can be called through their cpp names like log for the logarithm.
The time condition for which the function expression is valid. It can be none, a value or a range.
The x condition for which the function expression is valid. It can be none, a value or a range.
The y condition for which the function expression is valid. It can be none, a value or a range.
The z condition for which the function expression is valid. It can be none, a value or a range.
This allows defining custom quantities based on the seven base quantities of the international system.
The finite element to use for the mesh.
The definition of a function. This can be an expression or a conditioned function.
A function expression. Available variables are : t, x, y, z. Math functions such as cosinus or exponentials are available. They can be called through their cpp names like log for the logarithm.
The configuration for the generation of the code.
Whether to generate debug code.
Whether to generate matrix free code.
Whether to generate MPI code.
A length.
The equation(s) to solve and the mesh to use.
The finite element to use for the mesh.
The equation(s) to solve
The mesh to use
A time.
The dimension of the problem Possible values: 1, 2, 3
The time range to solve.
Represents an unknown to be solved in the PDE.
The time derivative's conditions of the unknown. The number of derivative specified should match the max time order of the equations - 1. (ie. an equation of order 2 in time needs one derivative specified)
A area.
A diffusion coefficient.
A length.
A mass.
A speed.
A temperature.
A time.
A volume.