Skip to content

Commit

Permalink
adding comments for things to do
Browse files Browse the repository at this point in the history
  • Loading branch information
StephMcCallum committed Jun 22, 2024
1 parent d4a8d31 commit 5766156
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions grits/coarsegrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,8 @@ def save(self, cg_gsdfile, start=0, stop=None, stride=1):
new_snap = gsd.hoomd.Frame()
position = []
mass = []
#make an empty list for forces here

orientation = [] if self.aniso_beads else None
f_box = freud.Box.from_box(s.configuration.box)
unwrap_pos = f_box.unwrap(
Expand All @@ -738,6 +740,9 @@ def save(self, cg_gsdfile, start=0, stop=None, stride=1):
mass += [
sum(s.particles.mass[x]) * self.mass_scale for x in inds
]

#do the force calculation here

if self.aniso_beads:
for x in inds:
masses = s.particles.mass[x] * self.mass_scale
Expand Down

0 comments on commit 5766156

Please sign in to comment.