multipatch_composition_coefficients Subroutine
- Seyed Ali Ghasemi
- BSD 3-Clause
- 30 statements
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 | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in), | contiguous | :: | transition(:,:) |
Transition derivatives |
|
| real(kind=rk), | intent(out), | allocatable | :: | coefficient(:,:,:,:) |
Composition coefficients indexed from zero. |