WARPXM v1.10.0
Loading...
Searching...
No Matches
WmExplicitRungeKuttaScheme Class Reference

The WmExplicitRungeKuttaScheme class. More...

#include <wmexplicitrungekuttascheme.h>

Detailed Description

The WmExplicitRungeKuttaScheme class.

Handles basics for explicit RK time integration

Public Types

typedef std::vector< std::pair< wxm::variable::distributed_variable_t *, size_t > > variables_type
 

Public Member Functions

 WmExplicitRungeKuttaScheme ()=default
 
virtual ~WmExplicitRungeKuttaScheme ()=default
 
int getNumStages () const
 
real getTimeUpdate (const int rkStage) const
 
real getCFLLimit () const
 
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)
 
void print_stage_definition (int stage) const
 

Protected Member Functions

int stage_offset (int stage) const
 

Protected Attributes

real _cfl_max = 1
 
int _numStages
 
std::vector< realtimeUpdates_
 
std::vector< realmultipliers_
 

Member Typedef Documentation

◆ variables_type

Constructor & Destructor Documentation

◆ WmExplicitRungeKuttaScheme()

WmExplicitRungeKuttaScheme::WmExplicitRungeKuttaScheme ( )
default

◆ ~WmExplicitRungeKuttaScheme()

virtual WmExplicitRungeKuttaScheme::~WmExplicitRungeKuttaScheme ( )
virtualdefault

Member Function Documentation

◆ calc_stage()

virtual void WmExplicitRungeKuttaScheme::calc_stage ( int  stage,
const std::vector< wxm::temporal_solver::temporal_var > &  temporal_vars,
std::vector< variables_type > &  vars,
real  dt 
) const
virtual

Computes u^*(stage)

◆ getCFLLimit()

real WmExplicitRungeKuttaScheme::getCFLLimit ( ) const
inline

◆ getNumStages()

int WmExplicitRungeKuttaScheme::getNumStages ( ) const
inline

◆ getTimeUpdate()

real WmExplicitRungeKuttaScheme::getTimeUpdate ( const int  rkStage) const
inline

◆ print_stage_definition()

void WmExplicitRungeKuttaScheme::print_stage_definition ( int  stage) const

◆ stage_offset()

int WmExplicitRungeKuttaScheme::stage_offset ( int  stage) const
inlineprotected

Member Data Documentation

◆ _cfl_max

real WmExplicitRungeKuttaScheme::_cfl_max = 1
protected

◆ _numStages

int WmExplicitRungeKuttaScheme::_numStages
protected

◆ multipliers_

std::vector<real> WmExplicitRungeKuttaScheme::multipliers_
protected

◆ timeUpdates_

std::vector<real> WmExplicitRungeKuttaScheme::timeUpdates_
protected

The documentation for this class was generated from the following file: