Page MenuHomec4science

runge_kutta_step_structs.hpp
No OneTemporary

File Metadata

Created
Fri, Nov 1, 16:38

runge_kutta_step_structs.hpp

#ifndef SPECMICP_ODEINT_RUNGEKUTTASTEPSTRUCTS_HPP
#define SPECMICP_ODEINT_RUNGEKUTTASTEPSTRUCTS_HPP
#include "common.hpp"
namespace specmicp {
namespace odeint {
struct EmbeddedRungeKuttaStepOptions
{
scalar_t safety;
scalar_t p_grow;
scalar_t p_shrink;
scalar_t errcon;
scalar_t max_try;
scalar_t eps;
bool non_negativity;
EmbeddedRungeKuttaStepOptions():
safety(0.9),
p_grow(-0.2),
p_shrink(-0.25),
errcon(1.89e-4),
max_try(20),
eps(1e-5),
non_negativity(false)
{}
};
} // end namespace odeint
} // end namespace specmicp
#endif// SPECMICP_ODEINT_RUNGEKUTTASTEPSTRUCTS_HPP

Event Timeline