SiReNe Simulation Software
1.0
|
Numerical methods used to compute the network evolution at each time-step. More...
Functions | |
void | Euler (Simul *Simulation, void(*Update)(Simul *Simulation, double tPrev, double t, double *Var, double *Der), double *TmpVar, double *TmpDer) |
Resolution of the ODE system by explicit Euler method. More... | |
void | RungeKutta2 (Simul *Simulation, void(*Update)(Simul *Simulation, double tPrev, double t, double *Var, double *Der), double *TmpVar, double *TmpDer) |
Resolution of the ODE system by the explicit Runge-Kutta 2 method. More... | |
void Euler | ( | Simul * | Simulation, |
void(*)(Simul *Simulation, double tPrev, double t, double *Var, double *Der) | Update, | ||
double * | TmpVar, | ||
double * | TmpDer | ||
) |
Simulation | Structure where all simulation information is stored |
Update | Update function of each neuron in the models |
TmpVar | Not used |
TmpDer | Not used |
References Simul::Chrono_NumericalMethod, Simul::CrtNum, Simul::DVar, INPUT_CALL, Simul::NumberOfVariables, Simul::PrvNum, RETURN_CALL, Simul::Start, Simul::t, Simul::TimeStep, and Simul::Variables.
Referenced by InitSimu().
void RungeKutta2 | ( | Simul * | Simulation, |
void(*)(Simul *Simulation, double tPrev, double t, double *Var, double *Der) | Update, | ||
double * | TmpVar, | ||
double * | TmpDer | ||
) |
Simulation | Structure where all simulation information is stored |
Update | Update function of each neuron in the models |
TmpVar | Variables array for intermediate time-steps |
TmpDer | Derivatives array for intermediate time-steps |
References Simul::Chrono_NumericalMethod, INPUT_CALL, Simul::NumberOfVariables, Simul::PrvNum, RETURN_CALL, Simul::Start, Simul::t, Simul::TimeStep, and Simul::Variables.
Referenced by main().