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
4d1fcd9c
There was an error fetching the commit references. Please try again later.
Commit
4d1fcd9c
authored
13 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Patches
Plain Diff
Bug fix: cell shape was not sent to PLUMED
parent
8e51cfd0
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
test/simplemd/simplemd.f90
+6
-1
6 additions, 1 deletion
test/simplemd/simplemd.f90
with
6 additions
and
1 deletion
test/simplemd/simplemd.f90
+
6
−
1
View file @
4d1fcd9c
...
...
@@ -10,7 +10,7 @@ real, allocatable :: velocities(:,:) ! velocities
real
,
allocatable
::
masses
(:)
! masses
real
,
allocatable
::
forces
(:,:)
! forces
real
::
cell
(
3
)
! cell size
real
::
cell9
(
9
)
! cell size
real
::
cell9
(
3
,
3
)
! cell size
! neighbour list variables
! see Allen and Tildesey book for details
...
...
@@ -181,10 +181,15 @@ do istep=1,nstep
call
compute_forces
(
natoms
,
listsize
,
positions
,
cell
,
forcecutoff
,
point
,
list
,
forces
,
engconf
)
! forces=0.0
IF
(
plumed
)
THEN
cell9
=
0.0
cell9
(
1
,
1
)
=
cell
(
1
)
cell9
(
2
,
2
)
=
cell
(
2
)
cell9
(
3
,
3
)
=
cell
(
3
)
CALL
plumed_g_cmd
(
"setMasses"
//
char
(
0
),
masses
)
CALL
plumed_g_cmd
(
"setForces"
//
char
(
0
),
forces
)
CALL
plumed_g_cmd
(
"setStep"
//
char
(
0
),
istep
)
CALL
plumed_g_cmd
(
"setPositions"
//
char
(
0
),
positions
)
CALL
plumed_g_cmd
(
"setBox"
//
char
(
0
),
cell9
)
CALL
plumed_g_cmd
(
"calc"
//
char
(
0
),
0
)
ENDIF
...
...
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