selah_splittings
SELAH, L0: splitting (composition) schemes for u' = F_1(u) + F_2(u).
A splitting scheme advances one step as the product of the sub-flows of the two partitions, each over a fraction of the step: (\varphi_{c_m \Delta t}^{[p_m]} \circ \dots \circ \varphi_{c_1 \Delta t}^{[p_1]}), applied left to right in the arrays (flow 1 first). With explicit Euler sub-steps on each partition, as ADAM's PRISM does for Maxwell's B and D, a sub-flow is exact when that partition's residual does not depend on its own variables.
Every scheme here is a symmetric (palindromic) composition, so its order is even. It is stored as the half sequence ending with the middle flow; splitting expands it:
| Scheme | Flows | Order | Source |
|---|---|---|---|
strang | 3 | 2 | Strang (1968) |
yoshida-4 | 7 | 4 | Yoshida (1990), the triple jump |
blanes-moan-s6 | 13 | 4 | Blanes & Moan (2002, J. Comput. Appl. Math. 142, 313), S6 |
blanes-moan-s10 | 21 | 6 | Blanes & Moan (2002), S10 |
The Blanes–Moan digits are those of ADAM's blanesmoan_object (ADAM issue #128, D3, has the composition ADAM's loop got wrong).
Source: src/lib/selah_splittings.F90
Dependencies
Contents
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
SCHEME_STRANG | character(len=*) | parameter | Strang, order 2. |
SCHEME_YOSHIDA_4 | character(len=*) | parameter | Yoshida triple jump, order 4. |
SCHEME_BLANES_MOAN_S6 | character(len=*) | parameter | Blanes–Moan S6, order 4. |
SCHEME_BLANES_MOAN_S10 | character(len=*) | parameter | Blanes–Moan S10, order 6. |
SPLITTING_SCHEMES | character(len=15) | parameter | All of them. |
Derived Types
splitting_composition
A composition of the sub-flows of two partitions.
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
flows | integer(kind=I4P) | Number of sub-flows. | |
order | integer(kind=I4P) | Declared order. | |
partition | integer(kind=I4P) | allocatable | Partition of each sub-flow, 1 or 2 [flows]. |
coefficient | real(kind=R_P) | allocatable | Fraction of the step of each sub-flow [flows]. |
Functions
palindrome
Symmetric composition from its half sequence: the flows alternate partitions from first, and the last entry of half is the middle flow.
Attributes: pure
Returns: type(splitting_composition)
function palindrome(first, half, order) result(sc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
first | integer(kind=I4P) | in | Partition of the first flow, 1 or 2. | |
half | real(kind=R_P) | in | Coefficients up to and including the middle flow. | |
order | integer(kind=I4P) | in | Declared order. |
Call graph
splitting
Splitting scheme by name; first (default 1) is the partition of the first flow.
Attributes: pure
Returns: type(splitting_composition)
function splitting(scheme, first) result(sc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
scheme | character(len=*) | in | Scheme name. | |
first | integer(kind=I4P) | in | optional | Partition of the first flow. |
Call graph