Integreat`GLM`
Integreat`GLM`

GLMOrderConditions

GLMOrderConditions[glm,q,p]

generates order conditions residuals of glm up to order p and stage order q.

GLMOrderConditions[glm,q]

uses stage order q and order p=GLMP[glm].

GLMOrderConditions[glm]

uses p=q=GLMP[glm].

GLMOrderConditions[glm,{p}]

generate the order condition residuals only of order p.

Details and Options

  • GLMOrderConditions only generates conditions for methods with high stage order, i.e., . This common restriction yields much simpler order conditions than the general case.
  • The stage order residual is for and for , where is a vector of 's. The order residual is for and for .
  • GLMOrderConditions groups residuals by order and has sublists for the internal and external stages.

Examples

open allclose all

Basic Examples  (2)

Check the order condition residuals of a DIMSIM with order three and stage order two:

Generate preconsistency conditions for a generic general linear method:

Possible Issues  (2)

GLMOrderConditions will not evaluate if :

Some order conditions are unnecessary for methods with low stage order:

Tech Notes
  • General Linear Methods