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
98fb5a29
There was an error fetching the commit references. Please try again later.
Commit
98fb5a29
authored
8 years ago
by
Carlo Camilloni
Browse files
Options
Downloads
Patches
Plain Diff
PBMETAD: default names for GRID files
parent
1342aecf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES/v2.4.txt
+2
-1
2 additions, 1 deletion
CHANGES/v2.4.txt
src/bias/PBMetaD.cpp
+6
-3
6 additions, 3 deletions
src/bias/PBMetaD.cpp
with
8 additions
and
4 deletions
CHANGES/v2.4.txt
+
2
−
1
View file @
98fb5a29
...
@@ -6,6 +6,7 @@ This page contains changes that will end up in 2.4
...
@@ -6,6 +6,7 @@ This page contains changes that will end up in 2.4
Changes from version 2.3 which are relevant for users:
Changes from version 2.3 which are relevant for users:
- \ref PBMETAD : multiple walkers using files (thanks to Marco De La Pierre).
- \ref PBMETAD : multiple walkers using files (thanks to Marco De La Pierre).
- \ref PBMETAD : adaptive gaussians
- \ref PBMETAD : adaptive gaussians
- \ref PBMETAD : default names for GRID and FILE (usefull with many collective variables)
- \ref IMPLICIT : EEF1-SB implicit solvent solvation energy
- \ref IMPLICIT : EEF1-SB implicit solvent solvation energy
*/
*/
This diff is collapsed.
Click to expand it.
src/bias/PBMetaD.cpp
+
6
−
3
View file @
98fb5a29
...
@@ -286,15 +286,15 @@ void PBMetaD::registerKeywords(Keywords& keys){
...
@@ -286,15 +286,15 @@ void PBMetaD::registerKeywords(Keywords& keys){
keys
.
use
(
"ARG"
);
keys
.
use
(
"ARG"
);
keys
.
add
(
"compulsory"
,
"SIGMA"
,
"the widths of the Gaussian hills"
);
keys
.
add
(
"compulsory"
,
"SIGMA"
,
"the widths of the Gaussian hills"
);
keys
.
add
(
"compulsory"
,
"PACE"
,
"the frequency for hill addition, one for all biases"
);
keys
.
add
(
"compulsory"
,
"PACE"
,
"the frequency for hill addition, one for all biases"
);
keys
.
add
(
"optional"
,
"FILE"
,
"files in which the lists of added hills are stored"
);
keys
.
add
(
"optional"
,
"FILE"
,
"files in which the lists of added hills are stored
, default names are assigned using arguments if FILE is not found
"
);
keys
.
add
(
"optional"
,
"HEIGHT"
,
"the height of the Gaussian hills, one for all biases. Compulsory unless TAU, TEMP and BIASFACTOR are given"
);
keys
.
add
(
"optional"
,
"HEIGHT"
,
"the height of the Gaussian hills, one for all biases. Compulsory unless TAU, TEMP and BIASFACTOR are given"
);
keys
.
add
(
"optional"
,
"FMT"
,
"specify format for HILLS files (useful for decrease the number of digits in regtests)"
);
keys
.
add
(
"optional"
,
"FMT"
,
"specify format for HILLS files (useful for decrease the number of digits in regtests)"
);
keys
.
add
(
"optional"
,
"BIASFACTOR"
,
"use well tempered metadynamics with this biasfactor, one for all biases. Please note you must also specify temp"
);
keys
.
add
(
"optional"
,
"BIASFACTOR"
,
"use well tempered metadynamics with this biasfactor, one for all biases. Please note you must also specify temp"
);
keys
.
add
(
"optional"
,
"TEMP"
,
"the system temperature - this is only needed if you are doing well-tempered metadynamics"
);
keys
.
add
(
"optional"
,
"TEMP"
,
"the system temperature - this is only needed if you are doing well-tempered metadynamics"
);
keys
.
add
(
"optional"
,
"TAU"
,
"in well tempered metadynamics, sets height to (kb*DeltaT*pace*timestep)/tau"
);
keys
.
add
(
"optional"
,
"TAU"
,
"in well tempered metadynamics, sets height to (kb*DeltaT*pace*timestep)/tau"
);
keys
.
add
(
"optional"
,
"GRID_RFILES"
,
"read grid for the bias"
);
keys
.
add
(
"optional"
,
"GRID_RFILES"
,
"read grid for the bias"
);
keys
.
add
(
"optional"
,
"GRID_WFILES"
,
"dump grid for the bias"
);
keys
.
add
(
"optional"
,
"GRID_WSTRIDE"
,
"frequency for dumping the grid"
);
keys
.
add
(
"optional"
,
"GRID_WSTRIDE"
,
"frequency for dumping the grid"
);
keys
.
add
(
"optional"
,
"GRID_WFILES"
,
"dump grid for the bias, default names are used if GRID_WSTRIDE is used without GRID_WFILES."
);
keys
.
add
(
"optional"
,
"GRID_MIN"
,
"the lower bounds for the grid"
);
keys
.
add
(
"optional"
,
"GRID_MIN"
,
"the lower bounds for the grid"
);
keys
.
add
(
"optional"
,
"GRID_MAX"
,
"the upper bounds for the grid"
);
keys
.
add
(
"optional"
,
"GRID_MAX"
,
"the upper bounds for the grid"
);
keys
.
add
(
"optional"
,
"GRID_BIN"
,
"the number of bins for the grid"
);
keys
.
add
(
"optional"
,
"GRID_BIN"
,
"the number of bins for the grid"
);
...
@@ -449,12 +449,15 @@ isFirstStep(true)
...
@@ -449,12 +449,15 @@ isFirstStep(true)
parseFlag
(
"WALKERS_MPI"
,
walkers_mpi
);
parseFlag
(
"WALKERS_MPI"
,
walkers_mpi
);
// Grid file
// Grid file
parse
(
"GRID_WSTRIDE"
,
wgridstride_
);
vector
<
string
>
gridfilenames_
;
vector
<
string
>
gridfilenames_
;
parseVector
(
"GRID_WFILES"
,
gridfilenames_
);
parseVector
(
"GRID_WFILES"
,
gridfilenames_
);
parse
(
"GRID_WSTRIDE"
,
wgridstride_
);
if
(
wgridstride_
==
0
&&
gridfilenames_
.
size
()
>
0
)
{
if
(
wgridstride_
==
0
&&
gridfilenames_
.
size
()
>
0
)
{
error
(
"frequency with which to output grid not specified use GRID_WSTRIDE"
);
error
(
"frequency with which to output grid not specified use GRID_WSTRIDE"
);
}
}
if
(
gridfilenames_
.
size
()
==
0
&&
wgridstride_
>
0
)
{
for
(
unsigned
i
=
0
;
i
<
getNumberOfArguments
();
i
++
)
gridfilenames_
.
push_back
(
"GRID."
+
getPntrToArgument
(
i
)
->
getName
());
}
if
(
gridfilenames_
.
size
()
>
0
&&
hillsfname
.
size
()
>
0
&&
gridfilenames_
.
size
()
!=
hillsfname
.
size
())
if
(
gridfilenames_
.
size
()
>
0
&&
hillsfname
.
size
()
>
0
&&
gridfilenames_
.
size
()
!=
hillsfname
.
size
())
error
(
"number of GRID_WFILES arguments does not match number of HILLS files"
);
error
(
"number of GRID_WFILES arguments does not match number of HILLS files"
);
...
...
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