![]() |
Vulpes
0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
|
Runge-Kutta solver for M du/dt + L u + N(u) = F(t). L is implicit when the Butcher table has an implicit part, N is always explicit. Default linear solver: PrecondOnly + LU (see getSolver()). More...
#include <imex.hpp>
Public Types | |
| using | real_t = PetscScalar |
| using | NonlinearPartFunc |
| using | ForceFunc = std::function<void(real_t, la::Vector&)> |
Public Member Functions | |
| TimeIntegratorDIRKIMEX (real_t initial_time, real_t final_time, real_t step_size, const la::Vector &initial_condition, const la::SparseMatrix &mass_matrix, const la::SparseMatrix &linear_op, const NonlinearPartFunc &non_linear_op, const ForceFunc &force_func) | |
| TimeIntegratorDIRKIMEX (real_t initial_time, real_t final_time, real_t step_size, const la::Vector &initial_condition, const la::SparseMatrix &mass_matrix, const la::SparseMatrix &linear_op, const ForceFunc &force_func) | |
| void | step () |
| auto & | getSolver () |
| const auto & | getSolver () const |
| const la::Vector & | getSolution () const |
| real_t | getTime () const |
Protected Member Functions | |
| void | initialize () |
| std::size_t | prepareFSAL () |
Protected Attributes | |
| real_t | m_initial_time |
| real_t | m_final_time |
| real_t | m_step_size |
| real_t | m_time |
| std::size_t | m_step = 0 |
| la::Vector | m_solution |
| const la::SparseMatrix & | m_mass_matrix |
| const la::SparseMatrix & | m_linear_op |
| const NonlinearPartFunc | m_non_linear_op |
| const ForceFunc | m_force_func |
| la::LinearSolver | m_solver |
| std::vector< la::Vector > | m_internal_stages_ex |
| std::vector< la::Vector > | m_internal_stages_im |
| la::Vector | m_force_eval |
| la::Vector | m_stage_sol |
| la::Vector | m_stage_rhs_ex |
| la::Vector | m_stage_rhs_im |
| la::Vector | m_tmp |
| la::SparseMatrix | m_stage_operator |
Static Protected Attributes | |
| static constexpr auto & | A_ex = ButcherTableType::A_ex |
| static constexpr auto & | b_ex = ButcherTableType::b_ex |
| static constexpr auto & | A_im = ButcherTableType::A_im |
| static constexpr auto & | b_im = ButcherTableType::b_im |
| static constexpr auto & | c = ButcherTableType::c |
Static Private Attributes | |
| static constexpr std::size_t | n_stages = ButcherTableType::n_stages |
| static constexpr bool | FSAL |
Runge-Kutta solver for M du/dt + L u + N(u) = F(t). L is implicit when the Butcher table has an implicit part, N is always explicit. Default linear solver: PrecondOnly + LU (see getSolver()).
| using vulpes::timeintegration::TimeIntegratorDIRKIMEX< ButcherTableType >::ForceFunc = std::function<void(real_t, la::Vector&)> |
| using vulpes::timeintegration::TimeIntegratorDIRKIMEX< ButcherTableType >::NonlinearPartFunc |
| using vulpes::timeintegration::TimeIntegratorDIRKIMEX< ButcherTableType >::real_t = PetscScalar |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
staticconstexprprotected |
|
staticconstexprprotected |
|
staticconstexprprotected |
|
staticconstexprprotected |
|
staticconstexprprotected |
|
staticconstexprprivate |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlinestaticconstexprprivate |