riccaticpp
Loading...
Searching...
No Matches
step.hpp File Reference
#include <riccati/chebyshev.hpp>
#include <Eigen/Dense>
#include <complex>
#include <cmath>
#include <tuple>

Go to the source code of this file.

Namespaces

namespace  riccati
 

Functions

template<typename SolverInfo , typename Scalar , typename YScalar >
auto riccati::nonosc_step (SolverInfo &&info, Scalar x0, Scalar h, YScalar y0, YScalar dy0, Scalar epsres)
 Performs a single Chebyshev step with adaptive node count for solving differential equations.
 
template<bool DenseOut, typename SolverInfo , typename OmegaVec , typename GammaVec , typename Scalar , typename YScalar >
auto riccati::osc_step (SolverInfo &&info, OmegaVec &&omega_s, GammaVec &&gamma_s, Scalar x0, Scalar h, YScalar y0, YScalar dy0, Scalar epsres)
 Performs a single Riccati step for solving differential equations with oscillatory behavior.
 
template<typename SolverInfo , typename Scalar , typename Vec >
auto riccati::step (SolverInfo &info, Scalar xi, Scalar xf, std::complex< Scalar > yi, std::complex< Scalar > dyi, Scalar eps, Scalar epsilon_h, Scalar init_stepsize, Vec &&x_eval, bool hard_stop=false)
 Solves the differential equation y'' + 2gy' + w^2y = 0 over a given interval.