forked from plumed/plumed2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Environment similarity collective variable (plumed#562)
* First commit * Input ref environments from PDB files and clean up * Fixed errors in compilation * Encapsulated parsinf of ref envs in function * Fixed problem with maxDistance function * Add regtests - derivatives missing * Add regtest for derivatives * Update citation * Add regtest for DIAMOND option * Documentation of EnvironmentSimilarity * Add link to Environment Finder * Update docs and fix virial * Remove old file * Fix namespace issue; fix LGTM alert
- Loading branch information
1 parent
dc2d534
commit aa0b0a7
Showing
54 changed files
with
3,785 additions
and
10 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,2 @@ | ||
#! FIELDS time es.mean es.morethan | ||
0.000000 1.001178 249.939835 |
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 @@ | ||
include ../../../scripts/test.make |
Large diffs are not rendered by default.
Oops, something went wrong.
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,4 @@ | ||
type=driver | ||
plumed_modules=crystallization | ||
# this is to test a different name | ||
arg="--plumed plumed.dat --mf_pdb bcc.pdb" |
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,14 @@ | ||
# vim:ft=plumed | ||
|
||
ENVIRONMENTSIMILARITY ... | ||
SPECIES=1-250 | ||
SIGMA=0.065 | ||
LATTICE_CONSTANTS=0.4234 | ||
CRYSTAL_STRUCTURE=BCC | ||
LABEL=es | ||
MEAN | ||
MORE_THAN={RATIONAL R_0=0.5 NN=12 MM=24} | ||
... ENVIRONMENTSIMILARITY | ||
|
||
PRINT ARG=es.mean,es.morethan FILE=COLVAR STRIDE=1 | ||
|
2 changes: 2 additions & 0 deletions
2
regtest/crystallization/rt-env-sim/rt-custom-1env/COLVAR.reference
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,2 @@ | ||
#! FIELDS time es.mean es.morethan | ||
0.000000 0.319486 24.000529 |
290 changes: 290 additions & 0 deletions
290
regtest/crystallization/rt-env-sim/rt-custom-1env/IceIh.pdb
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
include ../../../scripts/test.make |
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,4 @@ | ||
type=driver | ||
plumed_modules=crystallization | ||
# this is to test a different name | ||
arg="--plumed plumed.dat --mf_pdb IceIh.pdb" |
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,4 @@ | ||
ATOM 1 O MOL 1 -2.239 -1.296 -0.917 1.00 0.00 O | ||
ATOM 2 O MOL 1 0.000 0.000 2.751 1.00 0.00 O | ||
ATOM 3 O MOL 1 0.000 2.594 -0.917 1.00 0.00 O | ||
ATOM 4 O MOL 1 2.246 -1.296 -0.917 1.00 0.00 O |
14 changes: 14 additions & 0 deletions
14
regtest/crystallization/rt-env-sim/rt-custom-1env/plumed.dat
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,14 @@ | ||
# vim:ft=plumed | ||
|
||
ENVIRONMENTSIMILARITY ... | ||
SPECIES=1-288:3 | ||
SIGMA=0.05 | ||
CRYSTAL_STRUCTURE=CUSTOM | ||
REFERENCE=env1.pdb | ||
LABEL=es | ||
MEAN | ||
MORE_THAN={RATIONAL R_0=0.5 NN=12 MM=24} | ||
... ENVIRONMENTSIMILARITY | ||
|
||
PRINT ARG=es.mean,es.morethan FILE=COLVAR STRIDE=1 | ||
|
2 changes: 2 additions & 0 deletions
2
regtest/crystallization/rt-env-sim/rt-custom-multienv/COLVAR.reference
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,2 @@ | ||
#! FIELDS time es.mean es.morethan | ||
0.000000 0.999991 95.976566 |
290 changes: 290 additions & 0 deletions
290
regtest/crystallization/rt-env-sim/rt-custom-multienv/IceIh.pdb
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
include ../../../scripts/test.make |
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,4 @@ | ||
type=driver | ||
plumed_modules=crystallization | ||
# this is to test a different name | ||
arg="--plumed plumed.dat --mf_pdb IceIh.pdb" |
4 changes: 4 additions & 0 deletions
4
regtest/crystallization/rt-env-sim/rt-custom-multienv/env1.pdb
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,4 @@ | ||
ATOM 1 O MOL 1 -2.239 -1.296 -0.917 1.00 0.00 O | ||
ATOM 2 O MOL 1 0.000 0.000 2.751 1.00 0.00 O | ||
ATOM 3 O MOL 1 0.000 2.594 -0.917 1.00 0.00 O | ||
ATOM 4 O MOL 1 2.246 -1.296 -0.917 1.00 0.00 O |
4 changes: 4 additions & 0 deletions
4
regtest/crystallization/rt-env-sim/rt-custom-multienv/env2.pdb
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,4 @@ | ||
ATOM 1 O MOL 1 -2.239 1.297 -0.917 1.00 0.00 O | ||
ATOM 2 O MOL 1 0.000 -2.594 -0.917 1.00 0.00 O | ||
ATOM 3 O MOL 1 0.000 0.000 2.751 1.00 0.00 O | ||
ATOM 4 O MOL 1 2.246 1.297 -0.917 1.00 0.00 O |
4 changes: 4 additions & 0 deletions
4
regtest/crystallization/rt-env-sim/rt-custom-multienv/env3.pdb
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,4 @@ | ||
ATOM 1 O MOL 1 -2.246 1.296 0.917 1.00 0.00 O | ||
ATOM 2 O MOL 1 0.000 -2.594 0.917 1.00 0.00 O | ||
ATOM 3 O MOL 1 0.000 0.000 -2.751 1.00 0.00 O | ||
ATOM 4 O MOL 1 2.246 1.296 0.917 1.00 0.00 O |
4 changes: 4 additions & 0 deletions
4
regtest/crystallization/rt-env-sim/rt-custom-multienv/env4.pdb
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,4 @@ | ||
ATOM 1 O MOL 1 -2.246 -1.297 0.917 1.00 0.00 O | ||
ATOM 2 O MOL 1 0.000 0.000 -2.751 1.00 0.00 O | ||
ATOM 3 O MOL 1 0.000 2.594 0.917 1.00 0.00 O | ||
ATOM 4 O MOL 1 2.246 -1.297 0.917 1.00 0.00 O |
17 changes: 17 additions & 0 deletions
17
regtest/crystallization/rt-env-sim/rt-custom-multienv/plumed.dat
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,17 @@ | ||
# vim:ft=plumed | ||
|
||
ENVIRONMENTSIMILARITY ... | ||
SPECIES=1-288:3 | ||
SIGMA=0.05 | ||
CRYSTAL_STRUCTURE=CUSTOM | ||
REFERENCE_1=env1.pdb | ||
REFERENCE_2=env2.pdb | ||
REFERENCE_3=env3.pdb | ||
REFERENCE_4=env4.pdb | ||
LABEL=es | ||
MEAN | ||
MORE_THAN={RATIONAL R_0=0.5 NN=12 MM=24} | ||
... ENVIRONMENTSIMILARITY | ||
|
||
PRINT ARG=es.mean,es.morethan FILE=COLVAR STRIDE=1 | ||
|
291 changes: 291 additions & 0 deletions
291
regtest/crystallization/rt-env-sim/rt-deriv-multienv/IceIh.pdb
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
include ../../../scripts/test.make |
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,4 @@ | ||
type=driver | ||
plumed_modules=crystallization | ||
# this is to test a different name | ||
arg="--plumed plumed.dat --mf_pdb IceIh.pdb" |
Oops, something went wrong.