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
36957cba
There was an error fetching the commit references. Please try again later.
Commit
36957cba
authored
6 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Plain Diff
Merge branch 'v2.4'
parents
3549069a
0dd1e0ca
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.3.md
+1
-0
1 addition, 0 deletions
CHANGES/v2.3.md
src/generic/DumpMassCharge.cpp
+11
-1
11 additions, 1 deletion
src/generic/DumpMassCharge.cpp
with
12 additions
and
1 deletion
CHANGES/v2.3.md
+
1
−
0
View file @
36957cba
...
@@ -252,4 +252,5 @@ For developers:
...
@@ -252,4 +252,5 @@ For developers:
For users:
For users:
-
Fixed flag DETAILED_TIMERS in
\r
ef DEBUG (flag was ignored and detailed timers always written).
-
Fixed flag DETAILED_TIMERS in
\r
ef DEBUG (flag was ignored and detailed timers always written).
-
Small fix in
\r
ef DUMPMASSCHARGE (atoms are now correctly requested only at first step).
This diff is collapsed.
Click to expand it.
src/generic/DumpMassCharge.cpp
+
11
−
1
View file @
36957cba
...
@@ -95,10 +95,12 @@ class DumpMassCharge:
...
@@ -95,10 +95,12 @@ class DumpMassCharge:
{
{
string
file
;
string
file
;
bool
first
;
bool
first
;
bool
second
;
public:
public:
explicit
DumpMassCharge
(
const
ActionOptions
&
);
explicit
DumpMassCharge
(
const
ActionOptions
&
);
~
DumpMassCharge
();
~
DumpMassCharge
();
static
void
registerKeywords
(
Keywords
&
keys
);
static
void
registerKeywords
(
Keywords
&
keys
);
void
prepare
();
void
calculate
()
{}
void
calculate
()
{}
void
apply
()
{}
void
apply
()
{}
void
update
();
void
update
();
...
@@ -119,7 +121,8 @@ DumpMassCharge::DumpMassCharge(const ActionOptions&ao):
...
@@ -119,7 +121,8 @@ DumpMassCharge::DumpMassCharge(const ActionOptions&ao):
Action
(
ao
),
Action
(
ao
),
ActionAtomistic
(
ao
),
ActionAtomistic
(
ao
),
ActionPilot
(
ao
),
ActionPilot
(
ao
),
first
(
true
)
first
(
true
),
second
(
true
)
{
{
vector
<
AtomNumber
>
atoms
;
vector
<
AtomNumber
>
atoms
;
parse
(
"FILE"
,
file
);
parse
(
"FILE"
,
file
);
...
@@ -141,6 +144,13 @@ DumpMassCharge::DumpMassCharge(const ActionOptions&ao):
...
@@ -141,6 +144,13 @@ DumpMassCharge::DumpMassCharge(const ActionOptions&ao):
requestAtoms
(
atoms
);
requestAtoms
(
atoms
);
}
}
void
DumpMassCharge
::
prepare
()
{
if
(
!
first
&&
second
)
{
requestAtoms
(
vector
<
AtomNumber
>
());
second
=
false
;
}
}
void
DumpMassCharge
::
update
()
{
void
DumpMassCharge
::
update
()
{
if
(
!
first
)
return
;
if
(
!
first
)
return
;
first
=
false
;
first
=
false
;
...
...
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