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
1b44cb9e
Commit
1b44cb9e
authored
Dec 30, 2014
by
Jason Swails
Browse files
Fix up some of the documentation and add the usesPeriodicBoundaryConditions to
the barostats and andersen thermostat.
parent
92d5b9a7
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
47 additions
and
12 deletions
+47
-12
openmmapi/include/openmm/AndersenThermostat.h
openmmapi/include/openmm/AndersenThermostat.h
+7
-0
openmmapi/include/openmm/CMMotionRemover.h
openmmapi/include/openmm/CMMotionRemover.h
+7
-0
openmmapi/include/openmm/CustomGBForce.h
openmmapi/include/openmm/CustomGBForce.h
+1
-1
openmmapi/include/openmm/CustomHbondForce.h
openmmapi/include/openmm/CustomHbondForce.h
+1
-1
openmmapi/include/openmm/CustomManyParticleForce.h
openmmapi/include/openmm/CustomManyParticleForce.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/GBSAOBCForce.h
openmmapi/include/openmm/GBSAOBCForce.h
+1
-1
openmmapi/include/openmm/GBVIForce.h
openmmapi/include/openmm/GBVIForce.h
+1
-1
openmmapi/include/openmm/HarmonicAngleForce.h
openmmapi/include/openmm/HarmonicAngleForce.h
+1
-1
openmmapi/include/openmm/HarmonicBondForce.h
openmmapi/include/openmm/HarmonicBondForce.h
+1
-1
openmmapi/include/openmm/MonteCarloAnisotropicBarostat.h
openmmapi/include/openmm/MonteCarloAnisotropicBarostat.h
+7
-0
openmmapi/include/openmm/MonteCarloBarostat.h
openmmapi/include/openmm/MonteCarloBarostat.h
+7
-0
openmmapi/include/openmm/MonteCarloMembraneBarostat.h
openmmapi/include/openmm/MonteCarloMembraneBarostat.h
+7
-0
openmmapi/include/openmm/NonbondedForce.h
openmmapi/include/openmm/NonbondedForce.h
+1
-1
openmmapi/include/openmm/PeriodicTorsionForce.h
openmmapi/include/openmm/PeriodicTorsionForce.h
+1
-1
openmmapi/include/openmm/RBTorsionForce.h
openmmapi/include/openmm/RBTorsionForce.h
+1
-1
No files found.
openmmapi/include/openmm/AndersenThermostat.h
View file @
1b44cb9e
...
@@ -117,6 +117,13 @@ public:
...
@@ -117,6 +117,13 @@ public:
void
setRandomNumberSeed
(
int
seed
)
{
void
setRandomNumberSeed
(
int
seed
)
{
randomNumberSeed
=
seed
;
randomNumberSeed
=
seed
;
}
}
/**
* Returns whether or not this force makes use of periodic boundary
* conditions.
*
* @returns true if force uses PBC and false otherwise
*/
bool
usesPeriodicBoundaryConditions
()
const
{
return
false
;}
protected:
protected:
ForceImpl
*
createImpl
()
const
;
ForceImpl
*
createImpl
()
const
;
private:
private:
...
...
openmmapi/include/openmm/CMMotionRemover.h
View file @
1b44cb9e
...
@@ -61,6 +61,13 @@ public:
...
@@ -61,6 +61,13 @@ public:
void
setFrequency
(
int
freq
)
{
void
setFrequency
(
int
freq
)
{
frequency
=
freq
;
frequency
=
freq
;
}
}
/**
* Returns whether or not this force makes use of periodic boundary
* conditions.
*
* @returns true if force uses PBC and false otherwise
*/
bool
usesPeriodicBoundaryConditions
()
const
{
return
false
;}
protected:
protected:
ForceImpl
*
createImpl
()
const
;
ForceImpl
*
createImpl
()
const
;
private:
private:
...
...
openmmapi/include/openmm/CustomGBForce.h
View file @
1b44cb9e
...
@@ -527,7 +527,7 @@ public:
...
@@ -527,7 +527,7 @@ public:
* Returns whether or not this force makes use of periodic boundary
* Returns whether or not this force makes use of periodic boundary
* conditions.
* conditions.
*
*
* @returns true if
nonbondedMethod
uses PBC and false otherwise
* @returns true if
force
uses PBC and false otherwise
*/
*/
bool
usesPeriodicBoundaryConditions
()
const
{
bool
usesPeriodicBoundaryConditions
()
const
{
return
nonbondedMethod
==
CustomGBForce
::
CutoffPeriodic
;
return
nonbondedMethod
==
CustomGBForce
::
CutoffPeriodic
;
...
...
openmmapi/include/openmm/CustomHbondForce.h
View file @
1b44cb9e
...
@@ -447,7 +447,7 @@ public:
...
@@ -447,7 +447,7 @@ public:
* Returns whether or not this force makes use of periodic boundary
* Returns whether or not this force makes use of periodic boundary
* conditions.
* conditions.
*
*
* @returns true if
nonbondedMethod
uses PBC and false otherwise
* @returns true if
force
uses PBC and false otherwise
*/
*/
bool
usesPeriodicBoundaryConditions
()
const
{
bool
usesPeriodicBoundaryConditions
()
const
{
return
nonbondedMethod
==
CustomHbondForce
::
CutoffPeriodic
;
return
nonbondedMethod
==
CustomHbondForce
::
CutoffPeriodic
;
...
...
openmmapi/include/openmm/CustomManyParticleForce.h
View file @
1b44cb9e
...
@@ -465,7 +465,7 @@ public:
...
@@ -465,7 +465,7 @@ public:
* Returns whether or not this force makes use of periodic boundary
* Returns whether or not this force makes use of periodic boundary
* conditions.
* conditions.
*
*
* @returns true if
nonbondedMethod
uses PBC and false otherwise
* @returns true if
force
uses PBC and false otherwise
*/
*/
bool
usesPeriodicBoundaryConditions
()
const
{
bool
usesPeriodicBoundaryConditions
()
const
{
return
nonbondedMethod
==
CustomManyParticleForce
::
CutoffPeriodic
;
return
nonbondedMethod
==
CustomManyParticleForce
::
CutoffPeriodic
;
...
...
openmmapi/include/openmm/CustomNonbondedForce.h
View file @
1b44cb9e
...
@@ -468,7 +468,7 @@ public:
...
@@ -468,7 +468,7 @@ public:
* Returns whether or not this force makes use of periodic boundary
* Returns whether or not this force makes use of periodic boundary
* conditions.
* conditions.
*
*
* @returns true if
nonbondedMethod
uses PBC and false otherwise
* @returns true if
force
uses PBC and false otherwise
*/
*/
bool
usesPeriodicBoundaryConditions
()
const
{
bool
usesPeriodicBoundaryConditions
()
const
{
return
nonbondedMethod
==
CustomNonbondedForce
::
CutoffPeriodic
;
return
nonbondedMethod
==
CustomNonbondedForce
::
CutoffPeriodic
;
...
...
openmmapi/include/openmm/CustomTorsionForce.h
View file @
1b44cb9e
...
@@ -209,7 +209,7 @@ public:
...
@@ -209,7 +209,7 @@ public:
* Returns whether or not this force makes use of periodic boundary
* Returns whether or not this force makes use of periodic boundary
* conditions.
* conditions.
*
*
* @returns true if
nonbondedMethod
uses PBC and false otherwise
* @returns true if
force
uses PBC and false otherwise
*/
*/
bool
usesPeriodicBoundaryConditions
()
const
{
return
false
;}
bool
usesPeriodicBoundaryConditions
()
const
{
return
false
;}
protected:
protected:
...
...
openmmapi/include/openmm/GBSAOBCForce.h
View file @
1b44cb9e
...
@@ -188,7 +188,7 @@ public:
...
@@ -188,7 +188,7 @@ public:
* Returns whether or not this force makes use of periodic boundary
* Returns whether or not this force makes use of periodic boundary
* conditions.
* conditions.
*
*
* @returns true if
nonbondedMethod
uses PBC and false otherwise
* @returns true if
force
uses PBC and false otherwise
*/
*/
bool
usesPeriodicBoundaryConditions
()
const
{
bool
usesPeriodicBoundaryConditions
()
const
{
return
nonbondedMethod
==
GBSAOBCForce
::
CutoffPeriodic
;
return
nonbondedMethod
==
GBSAOBCForce
::
CutoffPeriodic
;
...
...
openmmapi/include/openmm/GBVIForce.h
View file @
1b44cb9e
...
@@ -233,7 +233,7 @@ public:
...
@@ -233,7 +233,7 @@ public:
* Returns whether or not this force makes use of periodic boundary
* Returns whether or not this force makes use of periodic boundary
* conditions.
* conditions.
*
*
* @returns true if
nonbondedMethod
uses PBC and false otherwise
* @returns true if
force
uses PBC and false otherwise
*/
*/
bool
usesPeriodicBoundaryConditions
()
const
{
bool
usesPeriodicBoundaryConditions
()
const
{
return
nonbondedMethod
==
GBVIForce
::
CutoffPeriodic
;
return
nonbondedMethod
==
GBVIForce
::
CutoffPeriodic
;
...
...
openmmapi/include/openmm/HarmonicAngleForce.h
View file @
1b44cb9e
...
@@ -106,7 +106,7 @@ public:
...
@@ -106,7 +106,7 @@ public:
* Returns whether or not this force makes use of periodic boundary
* Returns whether or not this force makes use of periodic boundary
* conditions.
* conditions.
*
*
* @returns true if
nonbondedMethod
uses PBC and false otherwise
* @returns true if
force
uses PBC and false otherwise
*/
*/
bool
usesPeriodicBoundaryConditions
()
const
{
return
false
;}
bool
usesPeriodicBoundaryConditions
()
const
{
return
false
;}
protected:
protected:
...
...
openmmapi/include/openmm/HarmonicBondForce.h
View file @
1b44cb9e
...
@@ -103,7 +103,7 @@ public:
...
@@ -103,7 +103,7 @@ public:
* Returns whether or not this force makes use of periodic boundary
* Returns whether or not this force makes use of periodic boundary
* conditions.
* conditions.
*
*
* @returns true if
nonbondedMethod
uses PBC and false otherwise
* @returns true if
force
uses PBC and false otherwise
*/
*/
bool
usesPeriodicBoundaryConditions
()
const
{
return
false
;}
bool
usesPeriodicBoundaryConditions
()
const
{
return
false
;}
protected:
protected:
...
...
openmmapi/include/openmm/MonteCarloAnisotropicBarostat.h
View file @
1b44cb9e
...
@@ -171,6 +171,13 @@ public:
...
@@ -171,6 +171,13 @@ public:
void
setRandomNumberSeed
(
int
seed
)
{
void
setRandomNumberSeed
(
int
seed
)
{
randomNumberSeed
=
seed
;
randomNumberSeed
=
seed
;
}
}
/**
* Returns whether or not this force makes use of periodic boundary
* conditions.
*
* @returns true if force uses PBC and false otherwise
*/
bool
usesPeriodicBoundaryConditions
()
const
{
return
true
;}
protected:
protected:
ForceImpl
*
createImpl
()
const
;
ForceImpl
*
createImpl
()
const
;
private:
private:
...
...
openmmapi/include/openmm/MonteCarloBarostat.h
View file @
1b44cb9e
...
@@ -127,6 +127,13 @@ public:
...
@@ -127,6 +127,13 @@ public:
void
setRandomNumberSeed
(
int
seed
)
{
void
setRandomNumberSeed
(
int
seed
)
{
randomNumberSeed
=
seed
;
randomNumberSeed
=
seed
;
}
}
/**
* Returns whether or not this force makes use of periodic boundary
* conditions.
*
* @returns true if force uses PBC and false otherwise
*/
bool
usesPeriodicBoundaryConditions
()
const
{
return
true
;}
protected:
protected:
ForceImpl
*
createImpl
()
const
;
ForceImpl
*
createImpl
()
const
;
private:
private:
...
...
openmmapi/include/openmm/MonteCarloMembraneBarostat.h
View file @
1b44cb9e
...
@@ -224,6 +224,13 @@ public:
...
@@ -224,6 +224,13 @@ public:
void
setRandomNumberSeed
(
int
seed
)
{
void
setRandomNumberSeed
(
int
seed
)
{
randomNumberSeed
=
seed
;
randomNumberSeed
=
seed
;
}
}
/**
* Returns whether or not this force makes use of periodic boundary
* conditions.
*
* @returns true if force uses PBC and false otherwise
*/
bool
usesPeriodicBoundaryConditions
()
const
{
return
true
;}
protected:
protected:
ForceImpl
*
createImpl
()
const
;
ForceImpl
*
createImpl
()
const
;
private:
private:
...
...
openmmapi/include/openmm/NonbondedForce.h
View file @
1b44cb9e
...
@@ -356,7 +356,7 @@ public:
...
@@ -356,7 +356,7 @@ public:
* Returns whether or not this force makes use of periodic boundary
* Returns whether or not this force makes use of periodic boundary
* conditions.
* conditions.
*
*
* @returns true if
nonbondedMethod
uses PBC and false otherwise
* @returns true if
force
uses PBC and false otherwise
*/
*/
bool
usesPeriodicBoundaryConditions
()
const
{
bool
usesPeriodicBoundaryConditions
()
const
{
return
nonbondedMethod
==
NonbondedForce
::
CutoffPeriodic
||
return
nonbondedMethod
==
NonbondedForce
::
CutoffPeriodic
||
...
...
openmmapi/include/openmm/PeriodicTorsionForce.h
View file @
1b44cb9e
...
@@ -112,7 +112,7 @@ public:
...
@@ -112,7 +112,7 @@ public:
* Returns whether or not this force makes use of periodic boundary
* Returns whether or not this force makes use of periodic boundary
* conditions.
* conditions.
*
*
* @returns true if
nonbondedMethod
uses PBC and false otherwise
* @returns true if
force
uses PBC and false otherwise
*/
*/
bool
usesPeriodicBoundaryConditions
()
const
{
return
false
;}
bool
usesPeriodicBoundaryConditions
()
const
{
return
false
;}
protected:
protected:
...
...
openmmapi/include/openmm/RBTorsionForce.h
View file @
1b44cb9e
...
@@ -121,7 +121,7 @@ public:
...
@@ -121,7 +121,7 @@ public:
* Returns whether or not this force makes use of periodic boundary
* Returns whether or not this force makes use of periodic boundary
* conditions.
* conditions.
*
*
* @returns true if
nonbondedMethod
uses PBC and false otherwise
* @returns true if
force
uses PBC and false otherwise
*/
*/
bool
usesPeriodicBoundaryConditions
()
const
{
return
false
;}
bool
usesPeriodicBoundaryConditions
()
const
{
return
false
;}
protected:
protected:
...
...
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