Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
b202be8e
Commit
b202be8e
authored
Jun 10, 2009
by
Michael Sherman
Browse files
Change NaCl example to report at 50fs rather than 10fs.
parent
85280838
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
examples/HelloSodiumChloride.cpp
examples/HelloSodiumChloride.cpp
+1
-1
examples/HelloSodiumChlorideInC.c
examples/HelloSodiumChlorideInC.c
+1
-1
examples/HelloSodiumChlorideInFortran.f90
examples/HelloSodiumChlorideInFortran.f90
+1
-1
No files found.
examples/HelloSodiumChloride.cpp
View file @
b202be8e
...
...
@@ -29,7 +29,7 @@ static const double SolventDielectric = 80.; // typical for water
static
const
double
SoluteDielectric
=
2.
;
// typical for protein
static
const
double
StepSizeInFs
=
2
;
// integration step size (fs)
static
const
double
ReportIntervalInFs
=
1
0
;
// how often to issue PDB frame (fs)
static
const
double
ReportIntervalInFs
=
5
0
;
// how often to issue PDB frame (fs)
static
const
double
SimulationTimeInPs
=
100
;
// total simulation time (ps)
// Currently energy calculation is not available in the GPU kernels so asking
...
...
examples/HelloSodiumChlorideInC.c
View file @
b202be8e
...
...
@@ -30,7 +30,7 @@ static const double SolventDielectric = 80.; /*typical for water */
static
const
double
SoluteDielectric
=
2
.;
/*typical for protein */
static
const
double
StepSizeInFs
=
2
;
/*integration step size (fs) */
static
const
double
ReportIntervalInFs
=
1
0
;
/*how often for PDB frame (fs)*/
static
const
double
ReportIntervalInFs
=
5
0
;
/*how often for PDB frame (fs)*/
static
const
double
SimulationTimeInPs
=
100
;
/*total simulation time (ps) */
/* Currently energy calculation is not available in the GPU kernels so asking
...
...
examples/HelloSodiumChlorideInFortran.f90
View file @
b202be8e
...
...
@@ -8,7 +8,7 @@ implicit none
!-------------------------------------------------------------------------------
real
*
8
StepSizeInFs
,
ReportIntervalInFs
,
SimulationTimeInPs
parameter
(
StepSizeInFs
=
2
)
parameter
(
ReportIntervalInFs
=
1
0
)
parameter
(
ReportIntervalInFs
=
5
0
)
parameter
(
SimulationTimeInPs
=
100
)
integer
NumSilentSteps
parameter
(
NumSilentSteps
=
(
ReportIntervalInFs
/
StepSizeInFs
+
0.5
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment