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
5c58568b
Commit
5c58568b
authored
Jan 17, 2009
by
Mark Friedrichs
Browse files
Remove Reference references
parent
1a8b5b68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
26 deletions
+0
-26
platforms/brook/src/OpenMMBrookInterface.cpp
platforms/brook/src/OpenMMBrookInterface.cpp
+0
-16
platforms/brook/src/OpenMMBrookInterface.h
platforms/brook/src/OpenMMBrookInterface.h
+0
-10
No files found.
platforms/brook/src/OpenMMBrookInterface.cpp
View file @
5c58568b
...
...
@@ -67,15 +67,8 @@ OpenMMBrookInterface::OpenMMBrookInterface( int streamWidth ) : _particleStreamW
_velocities
=
NULL
;
_forces
=
NULL
;
_refForceField
=
NULL
;
_log
=
NULL
;
_refForceField
=
NULL
;
_refSystem
=
NULL
;
_refOpenMMContext
=
NULL
;
_referencePlatform
=
NULL
;
_refVerletIntegrator
=
NULL
;
_particleStreamSize
=
-
1
;
for
(
int
ii
=
0
;
ii
<
LastBondForce
;
ii
++
){
...
...
@@ -100,15 +93,6 @@ OpenMMBrookInterface::~OpenMMBrookInterface( ){
delete
_bondParameters
[
ii
];
}
// deleted w/ kernel delete? If activated, program crashes
//delete _refForceField;
/*
delete _refSystem;
delete _refOpenMMContext;
delete _referencePlatform;
delete _refVerletIntegrator;
*/
}
/**
...
...
platforms/brook/src/OpenMMBrookInterface.h
View file @
5c58568b
...
...
@@ -41,8 +41,6 @@
#include "NonbondedForce.h"
#include "OpenMMContext.h"
#include "System.h"
#include "ReferencePlatform.h"
#include "VerletIntegrator.h"
namespace
OpenMM
{
...
...
@@ -425,14 +423,6 @@ class OpenMMBrookInterface {
BrookStreamImpl
*
_velocities
;
BrookStreamImpl
*
_forces
;
// used to calculate energy
NonbondedForce
*
_refForceField
;
System
*
_refSystem
;
OpenMMContext
*
_refOpenMMContext
;
ReferencePlatform
*
_referencePlatform
;
VerletIntegrator
*
_refVerletIntegrator
;
/**
* Set BrookBondParameters
*
...
...
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