Bayeux  3.4.1
Core Foundation library for SuperNEMO
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
mygsl::ode_driver Class Reference

#include <bayeux/mygsl/ode.h>

Classes

struct  at_step_action
 
struct  default_step_action
 

Public Member Functions

bool is_regular () const
 
void regular ()
 
void not_regular ()
 
void unset_step_action ()
 
void set_default_step_action ()
 
void set_step_action (at_step_action &asd_)
 
const std::string & get_type () const
 
void set_type (const std::string &type_)
 
size_t get_dimension () const
 
 ode_driver (ode_system &sys_, const std::string &type_=DEFAULT_TYPE, double epsabs_=1.e-6, double epsrel_=1.e-6, bool regular_=false)
 
void reset ()
 
virtual ~ode_driver ()
 
void init ()
 
int run (double t_begin_, double t_end_, double h_)
 

Static Public Member Functions

static bool type_is_valid (const std::string &type_)
 
static bool type_requires_jacobian (const std::string &type_)
 
static void print_types (std::ostream &)
 

Static Public Attributes

static const std::string DEFAULT_TYPE
 
static default_step_action _default_step_action_
 

Protected Member Functions

void _at_step_hook ()
 

Constructor & Destructor Documentation

◆ ode_driver()

mygsl::ode_driver::ode_driver ( ode_system sys_,
const std::string &  type_ = DEFAULT_TYPE,
double  epsabs_ = 1.e-6,
double  epsrel_ = 1.e-6,
bool  regular_ = false 
)

◆ ~ode_driver()

virtual mygsl::ode_driver::~ode_driver ( )
virtual

Member Function Documentation

◆ _at_step_hook()

void mygsl::ode_driver::_at_step_hook ( )
protected

◆ get_dimension()

size_t mygsl::ode_driver::get_dimension ( ) const

◆ get_type()

const std::string& mygsl::ode_driver::get_type ( ) const

◆ init()

void mygsl::ode_driver::init ( )

◆ is_regular()

bool mygsl::ode_driver::is_regular ( ) const

◆ not_regular()

void mygsl::ode_driver::not_regular ( )

◆ print_types()

static void mygsl::ode_driver::print_types ( std::ostream &  )
static

◆ regular()

void mygsl::ode_driver::regular ( )

◆ reset()

void mygsl::ode_driver::reset ( )

◆ run()

int mygsl::ode_driver::run ( double  t_begin_,
double  t_end_,
double  h_ 
)

◆ set_default_step_action()

void mygsl::ode_driver::set_default_step_action ( )

◆ set_step_action()

void mygsl::ode_driver::set_step_action ( at_step_action asd_)

◆ set_type()

void mygsl::ode_driver::set_type ( const std::string &  type_)

◆ type_is_valid()

static bool mygsl::ode_driver::type_is_valid ( const std::string &  type_)
static

◆ type_requires_jacobian()

static bool mygsl::ode_driver::type_requires_jacobian ( const std::string &  type_)
static

◆ unset_step_action()

void mygsl::ode_driver::unset_step_action ( )

Member Data Documentation

◆ _default_step_action_

default_step_action mygsl::ode_driver::_default_step_action_
static

◆ DEFAULT_TYPE

const std::string mygsl::ode_driver::DEFAULT_TYPE
static

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