# tools/gen_lobatto1d_c.py script

Generate lobatto1d.c and lobatto1h.c files.

gen_lobatto1d_c.append_declarations(out, cpolys, comment, cvar_name, shift=0)

gen_lobatto1d_c.append_lists(out, names, length)

gen_lobatto1d_c.append_polys(out, cpolys, comment, cvar_name, var_name='x', shift=0)

gen_lobatto1d_c.gen_lobatto(max_order)

gen_lobatto1d_c.main()

gen_lobatto1d_c.plot_polys(fig, polys, var_name='x')