Skip to content
ForCADDocumentation

multipatch_composition_coefficients Subroutine

public pure subroutine multipatch_composition_coefficients(transition, coefficient)

Compute multivariate Faa di Bruno coefficients for one transition jet.

transition(c,j) is the -th ordinary derivative of mapped coordinate with respect to the patch-A normal coordinate. coefficient(r,a1,a2,a3) multiplies in the -th derivative of . For a surface, pass two coordinate rows; entries with a3>0 remain zero. The recurrence is

This is the coefficient form of the multivariate Faa di Bruno formula used by the general surface and volume interface assemblers.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: transition(:,:)

Transition derivatives [mapped coordinate,normal order].

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

Composition coefficients indexed from zero.