Skip to content

Conversation

@vjd
Copy link

@vjd vjd commented Dec 12, 2017

Added two examples -

  • parallel absorption
  • mixed first and zero order
  • weibull (does not work - get a solver error)

Copy link

@kylebaron kylebaron left a 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

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;

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;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

capture CP = CENT/VC;

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove $CAPTURE

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.

Copy link

@kylebaron kylebaron left a 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));

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));``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants