Go to the documentation of this file.
68 template <
class type>
void report(type a) {
69 std::cout <<
"from report " << a << std::endl;
71 template <
class type1,
class type2>
void report(type1 a, type2 b) {
72 std::cout << a <<
" " << b << std::endl;
89 std::vector<double>
ETA;
90 std::vector<double>
EPS;
114 typedef std::vector<double>
dvec;
117 #define MRGSOLVE_INIT_SIGNATURE dvec& _A_0_,const dvec& _A_, const dvec& _THETA_, dvec& _F_, dvec& _ALAG_, dvec& _R_, dvec& _D_, databox& self, dvec& _pred_, mrgsolve::resim& simeta
118 #define MRGSOLVE_INIT_SIGNATURE_N 10
121 #define MRGSOLVE_TABLE_SIGNATURE const dvec& _A_, const dvec& _A_0_, dvec& _THETA_, const dvec& _F_, const dvec& _R_, databox& self, const dvec& _pred_, dvec& _capture_, mrgsolve::resim& simeps
122 #define MRGSOLVE_TABLE_SIGNATURE_N 9
125 #define MRGSOLVE_ODE_SIGNATURE const double* _ODETIME_, const double* _A_, double* _DADT_, const dvec& _A_0_, const dvec& _THETA_, const bool _ss_flag_
126 #define MRGSOLVE_ODE_SIGNATURE_N 6
129 #define MRGSOLVE_CONFIG_SIGNATURE databox& self, const dvec& _THETA_, const double neq, const double npar
130 #define MRGSOLVE_CONFIG_SIGNATURE_N 4
int rown
current output row number
Definition: mrgsolv.h:101
void * prob
object to pass to re-simulated function
Definition: mrgsolv.h:48
unsigned short int SYSTEMOFF
flag to stop advancing system for current ID
Definition: mrgsolv.h:94
int cmt
Definition: mrgsolv.h:60
void mevent(double time, int evid)
constructor for evdata objects
Definition: databox_cpp.h:18
void stop_id()
stops solving for the current id, filling with NA
Definition: mrgsolv.h:105
void(* refun)(void *)
Definition: mrgsolv.h:28
std::vector< double > dvec
vector of doubles
Definition: mrgsolv.h:114
void stop()
stops the problem when the next record is started
Definition: mrgsolv.h:104
void stop_id_cf()
stops solving for the current id, filling last value
Definition: mrgsolv.h:106
double amt
Definition: mrgsolv.h:61
double id
current ID
Definition: mrgsolv.h:95
double time
current simulation time
Definition: mrgsolv.h:92
double amt
current dosing amount value
Definition: mrgsolv.h:96
unsigned int newind
new individual flag
Definition: mrgsolv.h:91
refun fun
function to call to re-simulate
Definition: mrgsolv.h:47
evdata(double a_, int b_)
Definition: mrgsolv.h:52
void operator()()
Definition: mrgsolv.h:42
int idn
current ID number
Definition: mrgsolv.h:99
double tad()
calculates time after dose
Definition: databox_cpp.h:36
std::vector< double > EPS
vector of EPS values
Definition: mrgsolv.h:90
resim(refun x, void *y)
resim constructor
Definition: mrgsolv.h:40
resim()
Definition: mrgsolv.h:41
short int cmt
current compartment value
Definition: mrgsolv.h:97
bool CFONSTOP
carry forward on stop indicator
Definition: mrgsolv.h:102
std::vector< double > ETA
vector of ETA values
Definition: mrgsolv.h:89
member functions mevent and tad come in via housemodel; see inst/base/databox.cpp
Definition: mrgsolv.h:87
std::vector< mrgsolve::evdata > mevector
a collection of model events to pass back
Definition: mrgsolv.h:107
void report(type a)
Definition: mrgsolv.h:68
Resim functor.
Definition: mrgsolv.h:38
double time
Definition: mrgsolv.h:58
int nrow
number of rows in output data set
Definition: mrgsolv.h:100
double rate
Definition: mrgsolv.h:62
double mtime(double time)
creates evdata object for simple model event time
Definition: databox_cpp.h:23
int evid
event ID flag
Definition: mrgsolv.h:93
bool now
Definition: mrgsolv.h:63
void * envir
model environment
Definition: mrgsolv.h:103
int nid
number of IDs in the data set
Definition: mrgsolv.h:98
int evid
Definition: mrgsolv.h:59