Introduction
The following tables summarize the salient features of each of the example problems in this document. Each example is designed to be relatively self-contained, so that you need only study and/or emulate the problem that is most closely related to your own. We group these examples according to programming language (C, C++, Fortran).
ARKODE example problems written in C are summarized in the table below, and are further described in the chapters Serial C example problems, OpenMP C example problems, Parallel C example problems and Parallel Hypre example problems.
Problem |
Integrator |
Nonlinear |
Linear |
Size |
Extras |
---|---|---|---|---|---|
DIRK |
Newton |
Dense |
1 |
||
ERK |
N.A. |
N.A. |
1 |
ERKStep timestepping module |
|
DIRK |
Newton |
Dense |
3 |
||
ARK |
Fixed-point |
N.A. |
3 |
||
DIRK |
Newton |
Dense |
3 |
||
DIRK |
Newton |
Dense |
3 |
rootfinding |
|
DIRK |
Newton |
Band |
3N |
||
DIRK |
Newton |
Band |
3N |
OpenMP-enabled |
|
DIRK |
Newton |
KLU |
3N |
sparse matrices |
|
DIRK |
Newton |
SuperLU_MT |
3N |
finite-element, \(M\ne I\), sparse matrices |
|
DIRK |
Newton |
PCG |
N |
||
DIRK |
Newton |
PCG |
(dynamic) |
adaptive vector resizing |
|
DIRK |
Newton |
SPGMR |
216 |
multiple preconditioners |
|
DIRK |
Newton |
SPGMR |
200 |
parallel, BBD preconditioner |
|
DIRK |
Newton |
SPGMR |
200 |
parallel, block-diagonal precond. |
|
DIRK |
Newton |
SPGMR |
200 |
HYPRE parallel vector |
ARKODE example problems written in C++ are summarized in the table below, and are further described in the chapters Serial C++ example problems and Parallel C++ example problems.
Problem |
Integrator |
Nonlinear |
Linear |
Size |
Extras |
---|---|---|---|---|---|
DIRK |
Newton |
Dense |
3 |
||
DIRK |
Newton |
PCG |
\(nx*ny\) |
parallel |