1#ifndef WMEXPLICITRUNGEKUTTASCHEME_H
2#define WMEXPLICITRUNGEKUTTASCHEME_H
4#include "warpxm/warpxm_config.h"
19class distributed_variable_t;
34 typedef std::vector<std::pair<wxm::variable::distributed_variable_t*, size_t>>
59 const std::vector<wxm::temporal_solver::temporal_var>& temporal_vars,
60 std::vector<variables_type>& vars,
68 return ((stage + 1) * (stage + 2) >> 1) - 1;
The WmExplicitRungeKuttaScheme class.
Definition: wmexplicitrungekuttascheme.h:31
std::vector< std::pair< wxm::variable::distributed_variable_t *, size_t > > variables_type
Definition: wmexplicitrungekuttascheme.h:35
real getTimeUpdate(const int rkStage) const
Definition: wmexplicitrungekuttascheme.h:45
std::vector< real > timeUpdates_
Definition: wmexplicitrungekuttascheme.h:73
real getCFLLimit() const
Definition: wmexplicitrungekuttascheme.h:49
WmExplicitRungeKuttaScheme()=default
int getNumStages() const
Definition: wmexplicitrungekuttascheme.h:41
real _cfl_max
Definition: wmexplicitrungekuttascheme.h:71
virtual ~WmExplicitRungeKuttaScheme()=default
int stage_offset(int stage) const
Definition: wmexplicitrungekuttascheme.h:66
void print_stage_definition(int stage) const
int _numStages
Definition: wmexplicitrungekuttascheme.h:72
std::vector< real > multipliers_
Definition: wmexplicitrungekuttascheme.h:74
virtual void calc_stage(int stage, const std::vector< wxm::temporal_solver::temporal_var > &temporal_vars, std::vector< variables_type > &vars, real dt) const
Computes u^*(stage)
Definition: wmunstructuredpatch.h:22
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11