BioCMAMC-ST
Simulation::Feed Namespace Reference

Classes

struct  Constant
 
struct  Custom
 
struct  DelayedConstant
 
class  FeedDescritor
 
struct  FeedFactory
 
struct  Pulse
 
struct  SimulationFeed
 
struct  Step
 

Typedefs

using feed_value_t = std::vector<double>
 
using feed_position_t = std::vector<std::size_t>
 
using feed_species_t = std::vector<std::size_t>
 
using FeedTypeVariant = std::variant<Constant, Step, Pulse, Custom, DelayedConstant>
 

Functions

FeedType get_type (const FeedTypeVariant &v)
 
FeedDescritor delayedconstant (double _f, feed_value_t &&_target, feed_position_t &&_position, feed_species_t _species, double t_init, double t_end, bool set_exit)
 

Typedef Documentation

◆ feed_position_t

using Simulation::Feed::feed_position_t = std::vector<std::size_t>

◆ feed_species_t

using Simulation::Feed::feed_species_t = std::vector<std::size_t>

◆ feed_value_t

using Simulation::Feed::feed_value_t = std::vector<double>

◆ FeedTypeVariant

Function Documentation

◆ delayedconstant()

FeedDescritor Simulation::Feed::delayedconstant ( double _f,
feed_value_t && _target,
feed_position_t && _position,
feed_species_t _species,
double t_init,
double t_end,
bool set_exit )

◆ get_type()

FeedType Simulation::Feed::get_type ( const FeedTypeVariant & v)