![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
Go to the source code of this file.
Classes | |
| struct | SDIRKTable |
| class | SDIRKStageData |
Functions | |
| SDIRKTable | sdirk_table (const Parameters::SimulationControl::TimeSteppingMethod method) |
| SDIRKTable sdirk_table | ( | const Parameters::SimulationControl::TimeSteppingMethod | method | ) |
Construct the Butcher tableau (A, b, c) for a given SDIRK method.
This function returns the Runge-Kutta coefficients for a singly diagonally implicit Runge-Kutta (SDIRK) time integration method: SDIRK22 and SDIRK33 (Alexander's 2- and 3-stage methods) or SDIRK45 (SDIRK4 of Hairer and Wanner). All these methods are L-stable and stiffly accurate. These coefficients define the time-stepping scheme and are used in implicit time integration of ODEs or PDEs.
The Butcher tableau is defined as follows:
| [in] | method | The time integration method (e.g., TimeSteppingMethod::sdirk22, TimeSteppingMethod::sdirk33) selected from the Parameters::SimulationControl::TimeSteppingMethod enum. |
Construct the Butcher tableau (A, b, c) for a given SDIRK method.
Definition at line 19 of file sdirk_stage_data.cc.
References SDIRKTable::A, SDIRKTable::b, SDIRKTable::c, Parameters::SimulationControl::sdirk22, Parameters::SimulationControl::sdirk33, and Parameters::SimulationControl::sdirk45.