Skip to content

build

build(template="python_solve_ivp", output_dir=None)

Invokes the named plugin template to generate a complete solver from the network. Copies all template files to the output directory and runs the plugin's preprocessing step.

Parameters

template : str, optional
Plugin template name. Built-in options: "python_solve_ivp", "fortran_dlsodes", "kokkos_ode", "microphysics". Default "python_solve_ivp".
output_dir : str or None, optional
Output directory. Defaults to current working directory.

Returns

str
Absolute path to the output directory.

Raises

SystemExit
If the template plugin module is not found.