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
0d518bac
There was an error fetching the commit references. Please try again later.
Commit
0d518bac
authored
8 years ago
by
Gareth Tribello
Browse files
Options
Downloads
Patches
Plain Diff
Stuff for intermolecular DRMSD
parent
c364b7f3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/colvar/DRMSD.cpp
+4
-2
4 additions, 2 deletions
src/colvar/DRMSD.cpp
with
4 additions
and
2 deletions
src/colvar/DRMSD.cpp
+
4
−
2
View file @
0d518bac
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include
"ActionRegister.h"
#include
"ActionRegister.h"
#include
"tools/PDB.h"
#include
"tools/PDB.h"
#include
"reference/DRMSD.h"
#include
"reference/DRMSD.h"
#include
"reference/MetricRegister.h"
#include
"core/Atoms.h"
#include
"core/Atoms.h"
using
namespace
std
;
using
namespace
std
;
...
@@ -95,6 +96,7 @@ void DRMSD::registerKeywords(Keywords& keys){
...
@@ -95,6 +96,7 @@ void DRMSD::registerKeywords(Keywords& keys){
keys
.
add
(
"compulsory"
,
"REFERENCE"
,
"a file in pdb format containing the reference structure and the atoms involved in the CV."
);
keys
.
add
(
"compulsory"
,
"REFERENCE"
,
"a file in pdb format containing the reference structure and the atoms involved in the CV."
);
keys
.
add
(
"compulsory"
,
"LOWER_CUTOFF"
,
"only pairs of atoms further than LOWER_CUTOFF are considered in the calculation."
);
keys
.
add
(
"compulsory"
,
"LOWER_CUTOFF"
,
"only pairs of atoms further than LOWER_CUTOFF are considered in the calculation."
);
keys
.
add
(
"compulsory"
,
"UPPER_CUTOFF"
,
"only pairs of atoms closer than UPPER_CUTOFF are considered in the calculation."
);
keys
.
add
(
"compulsory"
,
"UPPER_CUTOFF"
,
"only pairs of atoms closer than UPPER_CUTOFF are considered in the calculation."
);
keys
.
add
(
"compulsory"
,
"TYPE"
,
"DRMSD"
,
"what kind of DRMSD would you like to calculate"
);
}
}
DRMSD
::
DRMSD
(
const
ActionOptions
&
ao
)
:
DRMSD
::
DRMSD
(
const
ActionOptions
&
ao
)
:
...
@@ -120,8 +122,8 @@ PLUMED_COLVAR_INIT(ao), pbc_(true), myvals(1,0), mypack(0,0,myvals)
...
@@ -120,8 +122,8 @@ PLUMED_COLVAR_INIT(ao), pbc_(true), myvals(1,0), mypack(0,0,myvals)
error
(
"missing input file "
+
reference
);
error
(
"missing input file "
+
reference
);
// store target_ distance
// store target_ distance
ReferenceConfigurationOptions
ro
(
"DRMSD"
);
std
::
string
type
;
parse
(
"TYPE"
,
type
);
drmsd_
=
new
PLMD
::
DRMSD
(
ro
);
drmsd_
=
metricRegister
().
create
<
PLMD
::
DRMSD
>
(
type
);
drmsd_
->
setBoundsOnDistances
(
!
nopbc
,
lcutoff
,
ucutoff
);
drmsd_
->
setBoundsOnDistances
(
!
nopbc
,
lcutoff
,
ucutoff
);
drmsd_
->
set
(
pdb
);
drmsd_
->
set
(
pdb
);
...
...
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