|
Neko 1.99.11
A portable framework for high-order spectral element flow simulations
|

Each file is a standalone module that demonstrates one of Neko's supported user-type injection points. Copy the file for the type you need, rename the file, module, derived type, JSON type name, and registration routine together, then add it to your makeneko command alongside the user file.
For example:
makeneko discovers each module_name_register_types routine and calls it at startup. The registration routine in every template is deliberately kept at the end of its module so it is easy to find.
The templates cover every type currently supported by factory-based injection:
The executable bodies are safe, minimal starting points rather than useful models: the LES and wall-model templates produce zero additional effects; the preconditioner and Ax templates are identities; and the Krylov, scalar Pn/Pn and fluid Pn/Pn boundary-condition templates stop with an explicit error until their solve and apply routines are implemented. Replace the marked TODO sections with the actual algorithm.