-
Notifications
You must be signed in to change notification settings - Fork 3
add absorption examples #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
mixed zero and first order absorption
kylebaron
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vjd Do you mind updating examples so compartments aren't listed in $CAPTURE ? Also, I'd like to encourage using capture typedef in $TABLE. Would you mind changing that too?
I don't want to enforce a style guide or anything like that, but I'd like to request that vignettes utilize certain features just so that these features get into the examples and hopefully get used more.
| $TABLE | ||
| double CP = CENT/VC; | ||
|
|
||
| $CAPTURE CP GUT CENT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove $CAPTURE here.
| dxdt_CENT = KA*GUT - (CL/VC)*CENT; | ||
|
|
||
| $TABLE | ||
| double CP = CENT/VC; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
capture CP = CENT/VC;
| dxdt_CENT = KA*GUT - (CL/VC)*CENT; | ||
|
|
||
| $TABLE | ||
| double CP = CENT/VC; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
capture CP = CENT/VC;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... and similar comment for other examples too.
| $TABLE | ||
| double CP = CENT/VC; | ||
|
|
||
| $CAPTURE CP GUT CENT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove $CAPTURE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... same comment for other examples too.
kylebaron
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vjd can you make these minor changes ?
| double GAMA1 = GAMA; | ||
|
|
||
| // Weibull function | ||
| double WB = 1 - exp(pow((-KA*TIME),GAMA1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vjd move the minus sign?
`double WB = 1 - exp(-pow((KA*TIME),GAMA));``
Added two examples -