PhyStar  v0.0.0 thu24
timescheme_nonstatic.hpp File Reference

time scheme of ODEs, non-static(Class or Struct) version More...

Include dependency graph for timescheme_nonstatic.hpp:

Namespaces

 ode
 time scheme of ODEs, non-static(Class or Struct) version
 

Functions

template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictClassicRK4 (T_class *const c, const T_pfun pf, const T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 4th-order classical Runge-Kutta Method (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictClassicRK4Self (T_class *const c, const T_pfun pf, T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 4th-order classical Runge-Kutta Method (non-static version) self. More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictKuttaRK3 (T_class *const c, const T_pfun pf, const T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 3rd-order Kutta Method (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictKuttaRK3Self (T_class *const c, const T_pfun pf, T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 3rd-order Kutta Method (non-static version) self. More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictHeunRK3 (T_class *const c, const T_pfun pf, const T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 3rd-order Heun Method (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictHeunRK3Self (T_class *const c, const T_pfun pf, T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 3rd-order Heun Method (non-static version) self. More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictRalstonRK3 (T_class *const c, const T_pfun pf, const T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 3rd-order Ralston Method (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictRalstonRK3Self (T_class *const c, const T_pfun pf, T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 3rd-order Ralson Method (non-static version) self. More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictSSPRK3 (T_class *const c, const T_pfun pf, const T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 3rd-order Strong Stability Preserving Runge-Kutta (SSPRK3) (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictSSPRK3Self (T_class *const c, const T_pfun pf, T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 3rd-order Strong Stability Preserving Runge-Kutta (SSPRK3) (non-static version)self. More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictGenericRK3 (T_class *const c, const T_pfun pf, const T_y &y, T_ext &ext, const T_real &t, const T_real &dt, const T_real a=0.5)
 Explicit 3rd-order Generic (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictGenericRK3Self (T_class *const c, const T_pfun pf, T_y &y, T_ext &ext, const T_real &t, const T_real &dt, const T_real a=0.5)
 Explicit 3rd-order Generic Method (non-static version) self. More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictMidPointRK2 (T_class *const c, const T_pfun pf, const T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 2nd-order midpoint Runge-Kutta (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictMidPointRK2Self (T_class *const c, const T_pfun pf, T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 2nd-order Midpoint Method (non-static version) self. More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictHeunRK2 (T_class *const c, const T_pfun pf, const T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 2nd-order Heun Runge-Kutta (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictHeunRK2Self (T_class *const c, const T_pfun pf, T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 2nd-order Heun Method (non-static version) self. More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictGenericRK2 (T_class *const c, const T_pfun pf, const T_y &y, T_ext &ext, const T_real &t, const T_real &dt, const T_real a=0.5)
 Explicit 2nd-order generic Runge-Kutta (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictGenericRK2Self (T_class *const c, const T_pfun pf, T_y &y, T_ext &ext, const T_real &t, const T_real &dt, const T_real a=0.5)
 Explicit 2nd-order Generic Method (non-static version) self. More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictEuler (T_class *const c, const T_pfun pf, const T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit Euler (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictEulerSelf (T_class *const c, const T_pfun pf, T_y &y, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit Euler Method (non-static version) self. More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictAB2 (T_class *const c, const T_pfun pf, const T_y &y1, const T_y &y0, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 2nd-order Adams-Bashforth (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictAB2ydy (T_class *const c, const T_pfun pf, T_y &y1, T_y &dy0, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 2nd-order Adams-Bashforth (non-static version), input y^n and dy^{n-1}... More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictAB2ydySelf (T_class *const c, const T_pfun pf, T_y &y1, T_y &dy0, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 2nd-order Adams-Bashforth (non-static version),self, input y^n and dy^{n-1}... More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictAB3 (T_class *const c, const T_pfun pf, const T_y &y2, const T_y &y1, const T_y &y0, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 3rd-order Adams-Bashforth (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictAB3ydy (T_class *const c, const T_pfun pf, T_y &y2, T_y &dy1, T_y &dy0, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 3rd-order Adams-Bashforth (non-static version), input y^n and dy^{n-1}... More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictAB3ydySelf (T_class *const c, const T_pfun pf, T_y &y2, T_y &dy1, T_y &dy0, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 3rd-order Adams-Bashforth (non-static version),self, input y^n and dy^{n-1}... More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictAB4 (T_class *const c, const T_pfun pf, const T_y &y3, const T_y &y2, const T_y &y1, const T_y &y0, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 4th-order Adams-Bashforth (non-static version) More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y ode::ExplictAB4ydy (T_class *const c, const T_pfun pf, const T_y &y3, T_y &dy2, T_y &dy1, T_y &dy0, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 4th-order Adams-Bashforth (non-static version), input y^n and dy^{n-1}... More...
 
template<classtype T_class, typename T_pfun , allowtype T_y, typename T_ext , realtype T_real>
T_y & ode::ExplictAB4ydySelf (T_class *const c, const T_pfun pf, T_y &y3, T_y &dy2, T_y &dy1, T_y &dy0, T_ext &ext, const T_real &t, const T_real &dt)
 Explicit 4th-order Adams-Bashforth (non-static version),self, input y^n and dy^{n-1}... More...
 

Detailed Description

time scheme of ODEs, non-static(Class or Struct) version