Skip to content

Commit

Permalink
Update docs and manual
Browse files Browse the repository at this point in the history
  • Loading branch information
rfd1 committed Dec 31, 2023
1 parent 9720eb2 commit 0717a20
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "Understanding Breakthrough Curves"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = "v0.2"
PROJECT_NUMBER = "v0.3"

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Overview

The purpose of this code and data is to enable reproduction
The purpose of this code and data is to enable reproduction (see [Reproducing the manuscript](#reproducing-the-manuscript))
and facilitate extension of the computational
results associated with Ref. [1],
as found in [Citing This Work](#citing-this-work).
results associated with Ref. [1]
(see [Citing This Work](#citing-this-work)).


# Installation of dependencies
Expand Down
Binary file modified doc/manual.pdf
Binary file not shown.
9 changes: 7 additions & 2 deletions src/isotherms.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def F(self, c):
"""!
@return \f$L(c; k) = (1 + \kappa)c/(1 + \kappa c)\f$
"""
return (1. + self.kappa)*c/(1 + self.kappa*c)
return (1. + self.k)*c/(1 + self.k*c)

def F_prime(self, c):
"""!
Expand All @@ -52,12 +52,17 @@ def get_c_rarefaction(self, x, t):
return 0.

return 1./self.k*(sqrt((1 + self.k)* x / (t - x)) - 1.)

def shock_lambda(self):
"""! speed of shock wave
@return float representing speed of shock wave"""
return 0.5

def get_c_shock(self, x, t):
"""!
@return concentration \f$c(x,t)\f$ associated with rarefaction wave
"""
lamda = 0.5
lamda = self.shock_lambda()
if x <= lamda*t:
return 1.

Expand Down

0 comments on commit 0717a20

Please sign in to comment.