Commit 5c58568b authored by Mark Friedrichs's avatar Mark Friedrichs
Browse files

Remove Reference references

parent 1a8b5b68
...@@ -67,15 +67,8 @@ OpenMMBrookInterface::OpenMMBrookInterface( int streamWidth ) : _particleStreamW ...@@ -67,15 +67,8 @@ OpenMMBrookInterface::OpenMMBrookInterface( int streamWidth ) : _particleStreamW
_velocities = NULL; _velocities = NULL;
_forces = NULL; _forces = NULL;
_refForceField = NULL;
_log = NULL; _log = NULL;
_refForceField = NULL;
_refSystem = NULL;
_refOpenMMContext = NULL;
_referencePlatform = NULL;
_refVerletIntegrator = NULL;
_particleStreamSize = -1; _particleStreamSize = -1;
for( int ii = 0; ii < LastBondForce; ii++ ){ for( int ii = 0; ii < LastBondForce; ii++ ){
...@@ -100,15 +93,6 @@ OpenMMBrookInterface::~OpenMMBrookInterface( ){ ...@@ -100,15 +93,6 @@ OpenMMBrookInterface::~OpenMMBrookInterface( ){
delete _bondParameters[ii]; delete _bondParameters[ii];
} }
// deleted w/ kernel delete? If activated, program crashes
//delete _refForceField;
/*
delete _refSystem;
delete _refOpenMMContext;
delete _referencePlatform;
delete _refVerletIntegrator;
*/
} }
/** /**
......
...@@ -41,8 +41,6 @@ ...@@ -41,8 +41,6 @@
#include "NonbondedForce.h" #include "NonbondedForce.h"
#include "OpenMMContext.h" #include "OpenMMContext.h"
#include "System.h" #include "System.h"
#include "ReferencePlatform.h"
#include "VerletIntegrator.h"
namespace OpenMM { namespace OpenMM {
...@@ -425,14 +423,6 @@ class OpenMMBrookInterface { ...@@ -425,14 +423,6 @@ class OpenMMBrookInterface {
BrookStreamImpl* _velocities; BrookStreamImpl* _velocities;
BrookStreamImpl* _forces; BrookStreamImpl* _forces;
// used to calculate energy
NonbondedForce* _refForceField;
System* _refSystem;
OpenMMContext* _refOpenMMContext;
ReferencePlatform* _referencePlatform;
VerletIntegrator* _refVerletIntegrator;
/** /**
* Set BrookBondParameters * Set BrookBondParameters
* *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment