Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Kurečka
Plumed AlphaFold
Commits
1beb610f
There was an error fetching the commit references. Please try again later.
Commit
1beb610f
authored
10 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Patches
Plain Diff
Improved doc for COORDINATION and DHENERGY
parent
5e251d8e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/colvar/Coordination.cpp
+3
-2
3 additions, 2 deletions
src/colvar/Coordination.cpp
src/colvar/CoordinationBase.cpp
+1
-1
1 addition, 1 deletion
src/colvar/CoordinationBase.cpp
src/colvar/DHEnergy.cpp
+7
-1
7 additions, 1 deletion
src/colvar/DHEnergy.cpp
with
11 additions
and
4 deletions
src/colvar/Coordination.cpp
+
3
−
2
View file @
1beb610f
...
@@ -51,11 +51,12 @@ but it can be changed using the optional SWITCH option.
...
@@ -51,11 +51,12 @@ but it can be changed using the optional SWITCH option.
To make your calculation faster you can use a neighbor list, which makes it that only a
To make your calculation faster you can use a neighbor list, which makes it that only a
relevant subset of the pairwise distance are calculated at every step.
relevant subset of the pairwise distance are calculated at every step.
If GROUPB is empty, it will sum the
N*(N-1)/2
pairs in GROUPA. This avoids computing
If GROUPB is empty, it will sum the
\f$\frac{N(N-1)}{2}\f$
pairs in GROUPA. This avoids computing
twice permuted indexes (e.g. pair (i,j) and (j,i)) thus running at twice the speed.
twice permuted indexes (e.g. pair (i,j) and (j,i)) thus running at twice the speed.
Notice that if there are common atoms between GROUPA and GROUPB the switching function should be
Notice that if there are common atoms between GROUPA and GROUPB the switching function should be
equal to one. These "self interactions" are discarded by plumed (since version 2.1).
equal to one. These "self contacts" are discarded by plumed (since version 2.1),
so that they actually count as "zero".
\par Examples
\par Examples
...
...
This diff is collapsed.
Click to expand it.
src/colvar/CoordinationBase.cpp
+
1
−
1
View file @
1beb610f
...
@@ -38,7 +38,7 @@ void CoordinationBase::registerKeywords( Keywords& keys ){
...
@@ -38,7 +38,7 @@ void CoordinationBase::registerKeywords( Keywords& keys ){
keys
.
add
(
"optional"
,
"NL_CUTOFF"
,
"The cutoff for the neighbour list"
);
keys
.
add
(
"optional"
,
"NL_CUTOFF"
,
"The cutoff for the neighbour list"
);
keys
.
add
(
"optional"
,
"NL_STRIDE"
,
"The frequency with which we are updating the atoms in the neighbour list"
);
keys
.
add
(
"optional"
,
"NL_STRIDE"
,
"The frequency with which we are updating the atoms in the neighbour list"
);
keys
.
add
(
"atoms"
,
"GROUPA"
,
"First list of atoms"
);
keys
.
add
(
"atoms"
,
"GROUPA"
,
"First list of atoms"
);
keys
.
add
(
"atoms"
,
"GROUPB"
,
"Second list of atoms"
);
keys
.
add
(
"atoms"
,
"GROUPB"
,
"Second list of atoms
(if empty, N*(N-1)/2 pairs in GROUPA are counted)
"
);
}
}
CoordinationBase
::
CoordinationBase
(
const
ActionOptions
&
ao
)
:
CoordinationBase
::
CoordinationBase
(
const
ActionOptions
&
ao
)
:
...
...
This diff is collapsed.
Click to expand it.
src/colvar/DHEnergy.cpp
+
7
−
1
View file @
1beb610f
...
@@ -47,7 +47,13 @@ using a Debye-Huckel approximation defined as
...
@@ -47,7 +47,13 @@ using a Debye-Huckel approximation defined as
\f]
\f]
This collective variable can be used to analyze or induce electrostatically driven reactions \cite do13jctc.
This collective variable can be used to analyze or induce electrostatically driven reactions \cite do13jctc.
The two atom groups should be disjointed. Notice that the value of the DHENERGY is returned in plumed units (see \ref UNITS).
Notice that the value of the DHENERGY is returned in plumed units (see \ref UNITS).
If GROUPB is empty, it will sum the N*(N-1)/2 pairs in GROUPA. This avoids computing
twice permuted indexes (e.g. pair (i,j) and (j,i)) thus running at twice the speed.
Notice that if there are common atoms between GROUPA and GROUPB their interaction is discarded.
\par Examples
\par Examples
\verbatim
\verbatim
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment