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
524bf8cb
Commit
524bf8cb
authored
Mar 18, 2011
by
Peter Eastman
Browse files
Minor improvements to Doxygen comments
parent
a82ce984
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
platforms/opencl/src/OpenCLContext.h
platforms/opencl/src/OpenCLContext.h
+2
-2
platforms/opencl/src/OpenCLIntegrationUtilities.h
platforms/opencl/src/OpenCLIntegrationUtilities.h
+2
-1
platforms/opencl/src/OpenCLNonbondedUtilities.h
platforms/opencl/src/OpenCLNonbondedUtilities.h
+2
-2
No files found.
platforms/opencl/src/OpenCLContext.h
View file @
524bf8cb
...
@@ -168,13 +168,13 @@ public:
...
@@ -168,13 +168,13 @@ public:
return
queue
;
return
queue
;
}
}
/**
/**
* Get the array which contains the position
and charge
of each atom.
* Get the array which contains the position
(the xyz components) and charge (the w component)
of each atom.
*/
*/
OpenCLArray
<
mm_float4
>&
getPosq
()
{
OpenCLArray
<
mm_float4
>&
getPosq
()
{
return
*
posq
;
return
*
posq
;
}
}
/**
/**
* Get the array which contains the velocity
and inverse mass
of each atom.
* Get the array which contains the velocity
(the xyz components) and inverse mass (the w component)
of each atom.
*/
*/
OpenCLArray
<
mm_float4
>&
getVelm
()
{
OpenCLArray
<
mm_float4
>&
getVelm
()
{
return
*
velm
;
return
*
velm
;
...
...
platforms/opencl/src/OpenCLIntegrationUtilities.h
View file @
524bf8cb
...
@@ -49,7 +49,8 @@ public:
...
@@ -49,7 +49,8 @@ public:
return
*
posDelta
;
return
*
posDelta
;
}
}
/**
/**
* Get the array which contains random values.
* Get the array which contains random values. Each element is a float4, whose components
* are independent, normally distributed random numbers with mean 0 and variance 1.
*/
*/
OpenCLArray
<
mm_float4
>&
getRandom
()
{
OpenCLArray
<
mm_float4
>&
getRandom
()
{
return
*
random
;
return
*
random
;
...
...
platforms/opencl/src/OpenCLNonbondedUtilities.h
View file @
524bf8cb
...
@@ -51,13 +51,13 @@ namespace OpenMM {
...
@@ -51,13 +51,13 @@ namespace OpenMM {
* 1. Data structures (e.g. neighbor lists) are calculated to allow nonbonded interactions to be evaluated
* 1. Data structures (e.g. neighbor lists) are calculated to allow nonbonded interactions to be evaluated
* quickly.
* quickly.
*
*
* 2. calcForces
() or calc
Energy() is called on each ForceImpl in the System.
* 2. calcForces
And
Energy() is called on each ForceImpl in the System.
*
*
* 3. Finally, the default interaction kernel is invoked to calculate all interactions that were added
* 3. Finally, the default interaction kernel is invoked to calculate all interactions that were added
* to it.
* to it.
*
*
* This sequence means that the default interaction kernel may depend on quantities that were calculated
* This sequence means that the default interaction kernel may depend on quantities that were calculated
* by ForceImpls during calcForces
() or calc
Energy().
* by ForceImpls during calcForces
And
Energy().
*/
*/
class
OPENMM_EXPORT
OpenCLNonbondedUtilities
{
class
OPENMM_EXPORT
OpenCLNonbondedUtilities
{
...
...
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