Function Repository Resource:

ButcherQuadratureConditions

Source Notebook

Give the quadrature conditions for Runge-Kutta methods

Contributed by: Wolfram Research

ResourceFunction["ButcherQuadratureConditions"][p,s]

gives the quadrature conditions up to and including order p for s stages.

ResourceFunction["ButcherQuadratureConditions"][p]

gives the quadrature conditions in stage-independent tensor notation.

Details and Options

The following option can be given:
"ContinuousExtension"Falsewhether to generate conditions for continuous extensions
"RungeKuttaMethod""Implicit"type of Runge-Kutta method
Valid settings for "RungeKuttaMethod" are "DiagonallyImplicit", "Explicit" and "Implicit".

Examples

Basic Examples (1) 

The quadrature conditions up to order 4:

In[1]:=
ResourceFunction["ButcherQuadratureConditions"][4]
Out[1]=

Version History

  • 1.0.0 – 06 November 2019

Related Resources

License Information