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
9f419569
There was an error fetching the commit references. Please try again later.
Commit
9f419569
authored
8 years ago
by
Carlo Camilloni
Browse files
Options
Downloads
Plain Diff
Merge branch 'v2.2' into v2.3
parents
17744374
a2f25f5b
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.2.txt
+2
-0
2 additions, 0 deletions
CHANGES/v2.2.txt
src/core/PlumedMain.cpp
+17
-18
17 additions, 18 deletions
src/core/PlumedMain.cpp
with
19 additions
and
18 deletions
CHANGES/v2.2.txt
+
2
−
0
View file @
9f419569
...
...
@@ -175,6 +175,8 @@ For users:
added if necessary.
- Fix a bug in \ref METAD when using INTERVAL and ADAPTIVE gaussians at the same time
- Updated gromacs patch for 5.1.x to 5.1.4
- Fix a performance regression in the calculate loop where derivatives and forces were set to zero even if an action
was not active, this is relevant for postprocessing and for the on-the-fly analysis
For developers:
- Macports portile is now tested on travis at every plumed push.
...
...
This diff is collapsed.
Click to expand it.
src/core/PlumedMain.cpp
+
17
−
18
View file @
9f419569
...
...
@@ -652,23 +652,23 @@ void PlumedMain::justCalculate(){
int
iaction
=
0
;
// calculate the active actions in order (assuming *backward* dependence)
for
(
ActionSet
::
iterator
p
=
actionSet
.
begin
();
p
!=
actionSet
.
end
();
++
p
){
std
::
string
actionNumberLabel
;
if
(
detailedTimers
){
Tools
::
convert
(
iaction
,
actionNumberLabel
);
actionNumberLabel
=
"4A "
+
actionNumberLabel
+
" "
+
(
*
p
)
->
getLabel
();
stopwatch
.
start
(
actionNumberLabel
);
}
ActionWithValue
*
av
=
dynamic_cast
<
ActionWithValue
*>
(
*
p
);
ActionAtomistic
*
aa
=
dynamic_cast
<
ActionAtomistic
*>
(
*
p
);
{
if
(
av
)
av
->
clearInputForces
();
if
(
av
)
av
->
clearDerivatives
();
}
{
if
(
aa
)
aa
->
clearOutputForces
();
if
(
aa
)
if
(
aa
->
isActive
())
aa
->
retrieveAtoms
();
}
if
((
*
p
)
->
isActive
()){
std
::
string
actionNumberLabel
;
if
(
detailedTimers
){
Tools
::
convert
(
iaction
,
actionNumberLabel
);
actionNumberLabel
=
"4A "
+
actionNumberLabel
+
" "
+
(
*
p
)
->
getLabel
();
stopwatch
.
start
(
actionNumberLabel
);
}
ActionWithValue
*
av
=
dynamic_cast
<
ActionWithValue
*>
(
*
p
);
ActionAtomistic
*
aa
=
dynamic_cast
<
ActionAtomistic
*>
(
*
p
);
{
if
(
av
)
av
->
clearInputForces
();
if
(
av
)
av
->
clearDerivatives
();
}
{
if
(
aa
)
aa
->
clearOutputForces
();
if
(
aa
)
if
(
aa
->
isActive
())
aa
->
retrieveAtoms
();
}
if
((
*
p
)
->
checkNumericalDerivatives
())
(
*
p
)
->
calculateNumericalDerivatives
();
else
(
*
p
)
->
calculate
();
// This retrieves components called bias
...
...
@@ -677,9 +677,8 @@ void PlumedMain::justCalculate(){
if
(
av
)
av
->
setGradientsIfNeeded
();
ActionWithVirtualAtom
*
avv
=
dynamic_cast
<
ActionWithVirtualAtom
*>
(
*
p
);
if
(
avv
)
avv
->
setGradientsIfNeeded
();
if
(
detailedTimers
)
stopwatch
.
stop
(
actionNumberLabel
);
}
if
(
detailedTimers
)
stopwatch
.
stop
(
actionNumberLabel
);
iaction
++
;
}
stopwatch
.
stop
(
"4 Calculating (forward loop)"
);
...
...
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