Skip to content
This repository was archived by the owner on Jul 28, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Removed the unsendable tag from python classes wherever possible.
  • Loading branch information
prehner committed Feb 16, 2022
commit 0c6e718322b312b8a7f32c2f1c628bfb0fa7951d
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- The pore volume using Helium at 298 K as reference is now directly accesible from `Pore1D` and `Pore3D`. [#12](https://github.com/feos-org/feos-core/pull/12)

### Changed
- Removed the `unsendable` tag from python classes wherever possible. [#13](https://github.com/feos-org/feos-core/pull/13)

## [0.1.1] - 2022-02-14
### Added
- `HelmholtzEnergyFunctional`s can now overwrite the `ideal_gas` method to provide a non-default ideal gas contribution that is accounted for in the calculation of the entropy, the internal energy and other properties. [#10](https://github.com/feos-org/feos-core/pull/10)
Expand Down
2 changes: 1 addition & 1 deletion src/python/adsorption/external_potential.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use quantity::python::{PySIArray2, PySINumber};
use quantity::si::*;

/// A collection of external potentials.
#[pyclass(name = "ExternalPotential", unsendable)]
#[pyclass(name = "ExternalPotential")]
#[derive(Clone)]
pub struct PyExternalPotential(pub ExternalPotential<SIUnit>);

Expand Down
4 changes: 2 additions & 2 deletions src/python/adsorption/pore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ macro_rules! impl_pore {
/// -------
/// Pore1D
///
#[pyclass(name = "Pore1D", unsendable)]
#[pyclass(name = "Pore1D")]
#[pyo3(text_signature = "(geometry, pore_size, potential, n_grid=None, potential_cutoff=None)")]
pub struct PyPore1D(Pore1D<SIUnit>);

Expand Down Expand Up @@ -118,7 +118,7 @@ macro_rules! impl_pore {
/// -------
/// Pore3D
///
#[pyclass(name = "Pore3D", unsendable)]
#[pyclass(name = "Pore3D")]
#[pyo3(text_signature = "(system_size, n_grid, coordinates, sigma_ss, epsilon_k_ss, potential_cutoff=None, cutoff_radius=None)")]
pub struct PyPore3D(Pore3D<SIUnit>);

Expand Down
2 changes: 1 addition & 1 deletion src/python/solver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use pyo3::prelude::*;
/// Returns
/// -------
/// empty solver: DFTSolver
#[pyclass(name = "DFTSolver", unsendable)]
#[pyclass(name = "DFTSolver")]
#[derive(Clone)]
#[pyo3(text_signature = "(output=None)")]
pub struct PyDFTSolver(pub DFTSolver);
Expand Down