-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(classical): offer tools to organize xml forcefield and match parameters. * fix(tests): change API to be consistent with dmff * feat(dmff): Add class Potential to keep OpenMM and DMFF potentials * fix(api): auto-update parameter before writing new xml file. * refactor: admp api.py using old xmlholder api * fix(fftree): make the name of API easier to be understand * update * update: admp related api * fix: fix bug in admp api * doc: programming style convention about typing and numpy style docstring * fix(tests): Add attribute to choose improper order * fix(classical): remove double check of cutoff distance in potential function. * fix(classical): avoid creating empty dict in impr parameters * fix(inter): add 1e-12 as eps value in jnp.sqrt function * fix(inter): use more tiny eps for numerical consistent * update: frontend docs * fix typo: fix typo in dev_guide * Temprary commit before test * Debugging new api for admp * peg system benchmark checked out * Update examples * Fix bug: was not reading the XZ component of multipole * remove jit for nbl.update * Modify setup.py * Require jax version smaller than 0.3.16, which is incompatible with current version of jax_md (0.1.29) * Update demo notebook in water example * Update documents and the notebook in classical FF example * Fix bug in nblist module * change allocate * fix: fix nblist jit-related bug * fix: test sequence in test_nblist.py * Fix bug in Slater ISA short range interaction * update: all tests pass * clean up code * feat: brutal Freud-based nblist * Bug fix in parsing internal xmls (#62) 1. Add NeighborFreud class to use freud package to obtain neighborlist. 2. Fix bug of parsing openmm internal force field xmls 3. Handle unmatched torsion params * settle down dependencies version * rename `nmax` to `capacity_multiplier`(consistent with jax_md); remove property:distance and dr in neighborList due to catastrophic bug * add freud-analysis require * remove overflow judgement so update in nblist can be jitted * Adapt examples to new nblist api * add md_ipi in examples to run classical MD for bulk water * modified md_ipi * modified md_ipi * new * new * new_2 * Refactor: decompose api.py and generators to separate files * feat(MBAR): Add differentiable MBAR impl * bug fix: record the name of matched template * Add unit test for MBAR estimator * feat: Estimate free energy of an extra state * set specific version no. for jax in installation guide * Update MBAR Estimator API * Update unit test for the latest MBAR API * Update github workflow to support new unit test. * Update requirement of pymbar * fix package including problem * Change cell vector to prevent numerical problem (ceil(12.0 / 1.0) would jump between 12 and 13) * Update settings.py * remove unused imports * fix "==" in requirements * update (gitignore): hmtff cache * update (api): docstring in createPotential * Update optax transforms for force field parameters * Update __init__.py * Update LJ jax force API in LennardJonesForce generator * Let energy function in TargetState use the whole trajectory instead of using single frame * Update MBAR UT to fit API change * Remove the using of numpy to make free energy & weight differentiable * Update __init__.py * Set precision again in dmff.mbar after importing pymbar * Increase MBAR numerical stability * Update an example of MBAR-based optimization * Correct the typo in document * Add openmm sample state. * Update genOptimizer to support multiple optimizers * Set default pressure to be 0 (NVT) * Add Gitee_mirror (#67) * Fix Mirror CI/CD (#68) * Add Gitee_mirror * Fix mirror CI/CD Co-authored-by: WangXinyan940 <[email protected]> * Add tutorial_utils for demo usage (#69) * Hook jax force to generator for intra potentials * Remove the requirement of mdtraj * Let NeighborList.update return (N, 3) pairs with colv_map information * Update nblist.py * bugfix: correctly recognize if the LJForce card uses type or class * SMIRKS-based typing scheme (#72) * add support for SMIRKS, bcc and virtual site * add dependencies in ut workflow * add interface to obtain topmat * code clean * fix multiple matches_dict var * add tests for building top * add tests for smirks/bcc/vsite * add dockerfile for dev env * add examples of smirks * add usage of smirks in doc * rm api doc in _date/_version * fix typo * update (doc): architecture img * update (README): citation and code structure * update (doc): bad rendered latex * update (doc): typo in usage * update (doc): smirks in XML * Hotfix in BCC parametrization (#73) * update (smirks): change bcc err to warning * hotfix: incorrect bcc matching * Save covalent map to Potential object & make energy function generator (#74) * Update python version requirement to 3.8 * Save meta data in Potential object * Add support to save meta data in Hamiltonian * Create an attribute to save meta data * Use potential.meta["cov_map"] in unittests * Build a function generator to calculate energies of a trajectory * Change API function name * fix meta data for admp generators * Make buildEnergyFunction cleaner Co-authored-by: KuangYu <[email protected]> Co-authored-by: Yingze Wang <[email protected]> Co-authored-by: Roy-Kid <[email protected]> Co-authored-by: KuangYu <[email protected]> Co-authored-by: Jichen Li <[email protected]> Co-authored-by: crone <[email protected]> Co-authored-by: Yuzhi Zhang <[email protected]>
- Loading branch information
1 parent
af4b1f2
commit 2fa71cf
Showing
172 changed files
with
74,244 additions
and
31,648 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Mirror to Gitee Repo | ||
|
||
on: [ push, delete, create ] | ||
|
||
# Ensures that only one mirror task will run at a time. | ||
concurrency: | ||
group: git-mirror | ||
|
||
jobs: | ||
git-mirror: | ||
if: github.repository_owner == 'deepmodeling' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: wearerequired/git-mirror-action@v1 | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.SYNC_GITEE_PRIVATE_KEY }} | ||
with: | ||
source-repo: "https://github.com/deepmodeling/dmff.git" | ||
destination-repo: "[email protected]:deepmodeling/DMFF.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -781,4 +781,7 @@ FodyWeavers.xsd | |
*.acpype/ | ||
|
||
*/_date.py | ||
*/_version.py | ||
*/_version.py | ||
|
||
# hmtff cache | ||
*.hmtff/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from .settings import * | ||
from .common.nblist import NeighborList | ||
from .api import Hamiltonian | ||
from .common.nblist import NeighborList, NeighborListFreud | ||
from .api import Hamiltonian | ||
from .generators import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.