Integrators (integrators)¶
Integrators for Iterative Time Solvers
- pypint.integrators.INTEGRATOR_PRESETS = {'Gauss-Lobatto': {'num_nodes': 3, 'weights_function': {'class': <class 'pypint.integrators.weight_function_providers.polynomial_weight_function.PolynomialWeightFunction'>, 'coeffs': [1.0]}, 'nodes_type': <class 'pypint.integrators.node_providers.gauss_lobatto_nodes.GaussLobattoNodes'>}, 'Gauss-Legendre': {'num_nodes': 3, 'weights_function': {'class': <class 'pypint.integrators.weight_function_providers.polynomial_weight_function.PolynomialWeightFunction'>, 'coeffs': [1.0]}, 'nodes_type': <class 'pypint.integrators.node_providers.gauss_legendre_nodes.GaussLegendreNodes'>}}¶
Useful presets for integrators.
This dictionary provides useful parameter presets for frequently used integrators. Use them as parameters to the constructor of IntegratorBase. Available presets:
- Gauss-Lobatto
- Classic Gauss-Lobatto integrator with constant one polynomial as the weight function.
Examples
>>> integrator_base_params = INTEGRATOR_PRESETS["Gauss-Lobatto"]