mrgsolve
Loading...
Searching...
No Matches
databox Class Reference

member functions mevent and tad come in via housemodel; see inst/base/databox.cpp More...

#include <mrgsolv.h>

Public Member Functions

void stop ()
 stops the problem when the next record is started
void stop_id ()
 stops solving for the current id, filling with NA
void stop_id_cf ()
 stops solving for the current id, filling last value
void mevent (double time_, int evid_)
 constructor for evdata objects
void push (mrgsolve::evdata x)
double mtime (double time_)
 creates evdata object for simple model event time
double tad ()
 calculates time after dose

Public Attributes

std::vector< double > ETA
 vector of ETA values
std::vector< double > EPS
 vector of EPS values
std::vector< double > SIGMA
 vector of on-diagonal sigma elements
unsigned int newind
 new individual flag
double time
 current simulation time
int evid
 event ID flag
unsigned short int SYSTEMOFF
 flag to stop advancing system for current ID
double id
 current ID
double amt
 current dosing amount value
short int cmt
 current compartment value
int nid
 number of IDs in the data set
int idn
 current ID number
int nrow
 number of rows in output data set
int rown
 current output row number
int irown
 current output row number for current id
int inrow
 number of output rows for current id
bool CFONSTOP
 carry forward on stop indicator
void * envir
 model environment
std::vector< mrgsolve::evdata > mevector
 a collection of model events to pass back

Detailed Description

member functions mevent and tad come in via housemodel; see inst/base/databox.cpp

Model data passed to the model.

This data is passed to PREAMBLE, MAIN, and TABLE but not ODE.

Member Function Documentation

◆ mevent()

void databox::mevent ( double time_,
int evid_ )

constructor for evdata objects

◆ mtime()

double databox::mtime ( double time_)

creates evdata object for simple model event time

◆ push()

void databox::push ( mrgsolve::evdata x)

◆ stop()

void databox::stop ( )
inline

stops the problem when the next record is started

◆ stop_id()

void databox::stop_id ( )
inline

stops solving for the current id, filling with NA

◆ stop_id_cf()

void databox::stop_id_cf ( )
inline

stops solving for the current id, filling last value

◆ tad()

double databox::tad ( )

calculates time after dose

Calculates time after dose.

Returns
the calculated time after dose; if no dose has been given for the current individual, then -1 is returned.

Member Data Documentation

◆ amt

double databox::amt

current dosing amount value

◆ CFONSTOP

bool databox::CFONSTOP

carry forward on stop indicator

◆ cmt

short int databox::cmt

current compartment value

◆ envir

void* databox::envir

model environment

◆ EPS

std::vector<double> databox::EPS

vector of EPS values

◆ ETA

std::vector<double> databox::ETA

vector of ETA values

◆ evid

int databox::evid

event ID flag

◆ id

double databox::id

current ID

◆ idn

int databox::idn

current ID number

◆ inrow

int databox::inrow

number of output rows for current id

◆ irown

int databox::irown

current output row number for current id

◆ mevector

std::vector<mrgsolve::evdata> databox::mevector

a collection of model events to pass back

◆ newind

unsigned int databox::newind

new individual flag

◆ nid

int databox::nid

number of IDs in the data set

◆ nrow

int databox::nrow

number of rows in output data set

◆ rown

int databox::rown

current output row number

◆ SIGMA

std::vector<double> databox::SIGMA

vector of on-diagonal sigma elements

◆ SYSTEMOFF

unsigned short int databox::SYSTEMOFF

flag to stop advancing system for current ID

◆ time

double databox::time

current simulation time


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