Template Numerical Library version\ main:bb09b17
|
Second order midpoint method. More...
#include <TNL/Solvers/ODE/Methods/Midpoint.h>
Public Types | |
using | ValueType = Value |
Static Public Member Functions | |
static constexpr ValueType | getCoefficient (const std::size_t stage, const std::size_t i) |
static constexpr std::size_t | getStages () |
static constexpr ValueType | getTimeCoefficient (std::size_t i) |
static constexpr ValueType | getUpdateCoefficient (std::size_t i) |
static constexpr bool | isAdaptive () |
Static Protected Attributes | |
static constexpr std::array< std::array< Value, Stages >, Stages > | k_coefficients |
static constexpr std::size_t | Stages = 2 |
static constexpr std::array< Value, Stages > | time_coefficients { 0.0, 1.0/2.0 } |
static constexpr std::array< Value, Stages > | update_coefficients { 0.0, 1.0 } |
Second order midpoint method.
Value | is arithmetic type used for computations. |
|
staticconstexprprotected |