Skip to content
ForCADDocumentation

multipatch_chain_rule_coefficients Subroutine

public pure subroutine multipatch_chain_rule_coefficients(connection, normal_sign, coefficient)

Compute arbitrary-order univariate Faa di Bruno coefficients. coefficient(r,k) multiplies the kth normalized normal derivative on patch B when forming the rth derivative of its composition with the connection reparameterization. For C^n, this reduces exactly to the signed affine transition implied by the connected sides.

The returned lower-triangular matrix satisfies

Thus , the partial exponential Bell polynomial used by the univariate Faa di Bruno formula. This compact routine is used when a surface or volume connection omits the full multivariate transition jet; multipatch_composition_coefficients handles the general mapped-coordinate jet.

Arguments

Type IntentOptional Attributes Name
type(multipatch_connection), intent(in) :: connection

Validated connection whose transition is applied.

integer, intent(in) :: normal_sign

Orientation sign for a parametric transition.

real(kind=rk), intent(out), allocatable :: coefficient(:,:)

Lower-triangular coefficient matrix indexed from zero.