Skip to content

Commit

Permalink
Add PeriodicTorsionGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
WangXinyan940 committed Oct 11, 2023
1 parent 3b7ffcd commit 3853f61
Show file tree
Hide file tree
Showing 2 changed files with 396 additions and 60 deletions.
2 changes: 2 additions & 0 deletions dmff/api/hamiltonian.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def __init__(self, topology: DMFFTopology, update_func: Callable):
self.meta = {}
self.topology = topology
self.meta["cov_map"] = topology.buildCovMat()
for key in self.topology._meta:
self.meta[key] = self.topology._meta[key]

def add(self, name, func):
self.dmff_potentials[name] = func
Expand Down
Loading

0 comments on commit 3853f61

Please sign in to comment.