Skip to content

Commit c6a1bf7

Browse files
authored
Export DQVariants in feos.pcsaft module, add documentation (#90)
1 parent 08a8cbf commit c6a1bf7

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

docs/api/pcsaft.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ parameters = PcSaftParameters.from_json(['methane', 'ethane'], 'parameters.json'
2525
SegmentRecord
2626
BinaryRecord
2727
BinarySegmentRecord
28+
DQVariants
2829
PcSaftRecord
2930
PcSaftParameters
3031
```

src/pcsaft/python.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
use super::DQVariants;
12
use super::parameters::{PcSaftBinaryRecord, PcSaftParameters, PcSaftRecord};
23
use feos_core::joback::JobackRecord;
34
use feos_core::parameter::{
@@ -183,7 +184,8 @@ pub fn pcsaft(_py: Python<'_>, m: &PyModule) -> PyResult<()> {
183184
m.add_class::<IdentifierOption>()?;
184185
m.add_class::<PyChemicalRecord>()?;
185186
m.add_class::<PyJobackRecord>()?;
186-
187+
188+
m.add_class::<DQVariants>()?;
187189
m.add_class::<PyPcSaftRecord>()?;
188190
m.add_class::<PyPureRecord>()?;
189191
m.add_class::<PySegmentRecord>()?;

0 commit comments

Comments
 (0)