Skip to content

Commit

Permalink
update to hoomd4, fix rigid body stuff (#68)
Browse files Browse the repository at this point in the history
* update to hoomd4, fix rigid body stuff

* don't need to pin cpu version of hoomd

* don't need to pin cpu version of hoomd, use gsd>= 3
  • Loading branch information
chrisjonesBSU authored Nov 13, 2023
1 parent 2c072c5 commit 49287fa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
4 changes: 0 additions & 4 deletions cmeutils/gsd_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,15 +295,11 @@ def update_rigid_snapshot(snapshot, mb_compound):
snapshot.particles.types[i] for i in snapshot.particles.typeid[inds]
]
c_orient = [tuple(i) for i in snapshot.particles.orientation[inds]]
c_charge = [i for i in snapshot.particles.charge[inds]]
c_diam = [i for i in snapshot.particles.diameter[inds]]

rigid.body["R"] = {
"constituent_types": c_types,
"positions": c_pos,
"charges": c_charge,
"orientations": c_orient,
"diameters": c_diam,
}
return snapshot, rigid

Expand Down
12 changes: 6 additions & 6 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: cmeutils-dev
channels:
- conda-forge
dependencies:
- fresnel
- freud>=2.13.1
- gsd>=3.0
- hoomd<4.0=*cpu*
- mbuild
- freud >=2.13.1
- fresnel >=0.13.5
- gsd >=3.0
- hoomd >=4.0
- mbuild >=0.16.4
- numpy
- pip
- python
- python >= 3.10
- matplotlib
- pre-commit
- pymbar >= 4.0
Expand Down
12 changes: 6 additions & 6 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: cmeutils
channels:
- conda-forge
dependencies:
- fresnel
- freud>=2.13.1
- gsd>=3.0
- hoomd<4.0=*cpu*
- mbuild
- freud >=2.13.1
- fresnel >=0.13.5
- gsd >=3.0
- hoomd >=4.0
- mbuild >=0.16.4
- numpy
- pip
- python
- python >= 3.10
- matplotlib
- pymbar >= 4.0
- rowan

0 comments on commit 49287fa

Please sign in to comment.