metrumresearchgroup / mrgsolve

Simulate from ODE-based population PK/PD and QSP models in R
https://mrgsolve.org
GNU General Public License v2.0
132 stars 36 forks source link

Refactor/mtimehx #1119

Closed kylebaron closed 1 year ago

kylebaron commented 1 year ago

Summary

The evdata object is a way to shuttle new dosing information from the model back to the mrgsolve simulation sequence.

We are adding a check_unique attribute that allows users to skip checking the modeled event history. This lets you schedule identical events if needed.

This PR also adds dose amt into the event history check; this allows users to schedule dosing events to the same compartment at the same time but with different dose amounts without tapping that check_unique attribute.

At this point, tests are only focused on the check_equal feature.

Tests are getting added to a special C++ test space; this space will be added to the drone make target so tests will get run with push to drone.