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
51bf5ee4
Commit
51bf5ee4
authored
Apr 07, 2010
by
Christopher Bruns
Browse files
Added "explicit" keyword to constructors for several API classes.
parent
066cfd60
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
10 deletions
+10
-10
openmmapi/include/openmm/CMMotionRemover.h
openmmapi/include/openmm/CMMotionRemover.h
+1
-1
openmmapi/include/openmm/CustomAngleForce.h
openmmapi/include/openmm/CustomAngleForce.h
+1
-1
openmmapi/include/openmm/CustomBondForce.h
openmmapi/include/openmm/CustomBondForce.h
+1
-1
openmmapi/include/openmm/CustomExternalForce.h
openmmapi/include/openmm/CustomExternalForce.h
+1
-1
openmmapi/include/openmm/CustomHbondForce.h
openmmapi/include/openmm/CustomHbondForce.h
+1
-1
openmmapi/include/openmm/CustomNonbondedForce.h
openmmapi/include/openmm/CustomNonbondedForce.h
+1
-1
openmmapi/include/openmm/CustomTorsionForce.h
openmmapi/include/openmm/CustomTorsionForce.h
+1
-1
openmmapi/include/openmm/OpenMMException.h
openmmapi/include/openmm/OpenMMException.h
+1
-1
openmmapi/include/openmm/VariableVerletIntegrator.h
openmmapi/include/openmm/VariableVerletIntegrator.h
+1
-1
openmmapi/include/openmm/VerletIntegrator.h
openmmapi/include/openmm/VerletIntegrator.h
+1
-1
No files found.
openmmapi/include/openmm/CMMotionRemover.h
View file @
51bf5ee4
...
@@ -48,7 +48,7 @@ public:
...
@@ -48,7 +48,7 @@ public:
/**
/**
* Create a CMMotionRemover.
* Create a CMMotionRemover.
*/
*/
CMMotionRemover
(
int
frequency
=
1
);
explicit
CMMotionRemover
(
int
frequency
=
1
);
/**
/**
* Get the frequency (in time steps) at which center of mass motion should be removed
* Get the frequency (in time steps) at which center of mass motion should be removed
*/
*/
...
...
openmmapi/include/openmm/CustomAngleForce.h
View file @
51bf5ee4
...
@@ -76,7 +76,7 @@ public:
...
@@ -76,7 +76,7 @@ public:
* @param energy an algebraic expression giving the interaction energy between three particles as a function
* @param energy an algebraic expression giving the interaction energy between three particles as a function
* of theta, the angle between them
* of theta, the angle between them
*/
*/
CustomAngleForce
(
const
std
::
string
&
energy
);
explicit
CustomAngleForce
(
const
std
::
string
&
energy
);
/**
/**
* Get the number of angles for which force field parameters have been defined.
* Get the number of angles for which force field parameters have been defined.
*/
*/
...
...
openmmapi/include/openmm/CustomBondForce.h
View file @
51bf5ee4
...
@@ -76,7 +76,7 @@ public:
...
@@ -76,7 +76,7 @@ public:
* @param energy an algebraic expression giving the interaction energy between two bonded particles as a function
* @param energy an algebraic expression giving the interaction energy between two bonded particles as a function
* of r, the distance between them
* of r, the distance between them
*/
*/
CustomBondForce
(
const
std
::
string
&
energy
);
explicit
CustomBondForce
(
const
std
::
string
&
energy
);
/**
/**
* Get the number of bonds for which force field parameters have been defined.
* Get the number of bonds for which force field parameters have been defined.
*/
*/
...
...
openmmapi/include/openmm/CustomExternalForce.h
View file @
51bf5ee4
...
@@ -79,7 +79,7 @@ public:
...
@@ -79,7 +79,7 @@ public:
* @param energy an algebraic expression giving the potential energy of each particle as a function
* @param energy an algebraic expression giving the potential energy of each particle as a function
* of its x, y, and z coordinates
* of its x, y, and z coordinates
*/
*/
CustomExternalForce
(
const
std
::
string
&
energy
);
explicit
CustomExternalForce
(
const
std
::
string
&
energy
);
/**
/**
* Get the number of particles for which force field parameters have been defined.
* Get the number of particles for which force field parameters have been defined.
*/
*/
...
...
openmmapi/include/openmm/CustomHbondForce.h
View file @
51bf5ee4
...
@@ -123,7 +123,7 @@ public:
...
@@ -123,7 +123,7 @@ public:
* of inter-particle distances, angles, and dihedrals, as well as any global, per-donor, and
* of inter-particle distances, angles, and dihedrals, as well as any global, per-donor, and
* per-acceptor parameters
* per-acceptor parameters
*/
*/
CustomHbondForce
(
const
std
::
string
&
energy
);
explicit
CustomHbondForce
(
const
std
::
string
&
energy
);
/**
/**
* Get the number of donors for which force field parameters have been defined.
* Get the number of donors for which force field parameters have been defined.
*/
*/
...
...
openmmapi/include/openmm/CustomNonbondedForce.h
View file @
51bf5ee4
...
@@ -110,7 +110,7 @@ public:
...
@@ -110,7 +110,7 @@ public:
* @param energy an algebraic expression giving the interaction energy between two particles as a function
* @param energy an algebraic expression giving the interaction energy between two particles as a function
* of r, the distance between them, as well as any global and per-particle parameters
* of r, the distance between them, as well as any global and per-particle parameters
*/
*/
CustomNonbondedForce
(
const
std
::
string
&
energy
);
explicit
CustomNonbondedForce
(
const
std
::
string
&
energy
);
/**
/**
* Get the number of particles for which force field parameters have been defined.
* Get the number of particles for which force field parameters have been defined.
*/
*/
...
...
openmmapi/include/openmm/CustomTorsionForce.h
View file @
51bf5ee4
...
@@ -76,7 +76,7 @@ public:
...
@@ -76,7 +76,7 @@ public:
* @param energy an algebraic expression giving the interaction energy between three particles as a function
* @param energy an algebraic expression giving the interaction energy between three particles as a function
* of theta, the torsion angle between them
* of theta, the torsion angle between them
*/
*/
CustomTorsionForce
(
const
std
::
string
&
energy
);
explicit
CustomTorsionForce
(
const
std
::
string
&
energy
);
/**
/**
* Get the number of torsions for which force field parameters have been defined.
* Get the number of torsions for which force field parameters have been defined.
*/
*/
...
...
openmmapi/include/openmm/OpenMMException.h
View file @
51bf5ee4
...
@@ -43,7 +43,7 @@ namespace OpenMM {
...
@@ -43,7 +43,7 @@ namespace OpenMM {
class
OpenMMException
:
public
std
::
exception
{
class
OpenMMException
:
public
std
::
exception
{
public:
public:
OpenMMException
(
const
std
::
string
&
message
)
:
message
(
message
)
{
explicit
OpenMMException
(
const
std
::
string
&
message
)
:
message
(
message
)
{
}
}
~
OpenMMException
()
throw
()
{
~
OpenMMException
()
throw
()
{
}
}
...
...
openmmapi/include/openmm/VariableVerletIntegrator.h
View file @
51bf5ee4
...
@@ -65,7 +65,7 @@ public:
...
@@ -65,7 +65,7 @@ public:
*
*
* @param errorTol the error tolerance
* @param errorTol the error tolerance
*/
*/
VariableVerletIntegrator
(
double
errorTol
);
explicit
VariableVerletIntegrator
(
double
errorTol
);
/**
/**
* Get the error tolerance.
* Get the error tolerance.
*/
*/
...
...
openmmapi/include/openmm/VerletIntegrator.h
View file @
51bf5ee4
...
@@ -49,7 +49,7 @@ public:
...
@@ -49,7 +49,7 @@ public:
*
*
* @param stepSize the step size with which to integrator the system (in picoseconds)
* @param stepSize the step size with which to integrator the system (in picoseconds)
*/
*/
VerletIntegrator
(
double
stepSize
);
explicit
VerletIntegrator
(
double
stepSize
);
/**
/**
* Advance a simulation through time by taking a series of time steps.
* Advance a simulation through time by taking a series of time steps.
*
*
...
...
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