-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API Python almost - need test, doc and mes around with parameters ori…
…entation
- Loading branch information
1 parent
64bc38e
commit a724171
Showing
4 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
"""UNIQUAC""" | ||
|
||
from yaeos.core import GeModel | ||
from yaeos.lib import yaeos_c | ||
|
||
|
||
class UNIQUAC(GeModel): | ||
"""UNIQUAC""" | ||
|
||
def __init__(self, qs, rs, aij, bij, cij, dij, eij) -> None: | ||
self.qs = qs | ||
self.rs = rs | ||
self.aij = aij | ||
self.bij = bij | ||
self.cij = cij | ||
self.dij = dij | ||
self.eij = eij | ||
|
||
self.id = yaeos_c.uniquac(qs, rs, aij, bij, cij, dij, eij) |