Skip to content

Commit

Permalink
Merge pull request #53 from Schoyen/dim-property
Browse files Browse the repository at this point in the history
Dim property
  • Loading branch information
Schoyen authored Apr 9, 2021
2 parents cadf00a + 24964a0 commit c4965af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions quantum_systems/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ def compute_particle_density(self, rho_qp, C=None, C_tilde=None):
rho_qp, C=C, C_tilde=C_tilde
)

@property
def dim(self):
return self._basis_set.dim

@property
def grid(self):
return self._basis_set.grid
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="quantum-systems",
version="0.1.2",
version="0.2.6",
packages=find_packages(),
install_requires=[
"numpy",
Expand Down

0 comments on commit c4965af

Please sign in to comment.