generate_finite_elements
(function from pyomo.dae.misc
)
- pyomo.dae.misc.generate_finite_elements(ds, nfe)[source]
This function first checks to see if the number of finite elements in the differential set is equal to nfe. If the number of finite elements is less than nfe, additional points will be generated. If the number of finite elements is greater than or equal to nfe the differential set will not be modified