"platforms/reference/tests/TestReferencePythonForce.cpp" did not exist on "ed1fb1923aeff2fe99e090bab87aeddd63115043"
Commit 73b55e33 authored by Peter Eastman's avatar Peter Eastman
Browse files

Removed unnecessary clearing array

parent 5698a1fc
...@@ -605,14 +605,6 @@ static void cudaComputeAmoebaPmeDirectFixedEField( amoebaGpuContext amoebaGpu ) ...@@ -605,14 +605,6 @@ static void cudaComputeAmoebaPmeDirectFixedEField( amoebaGpuContext amoebaGpu )
void cudaComputeAmoebaPmeFixedEField( amoebaGpuContext amoebaGpu ) void cudaComputeAmoebaPmeFixedEField( amoebaGpuContext amoebaGpu )
{ {
// zero field?
unsigned int offset = 3*amoebaGpu->paddedNumberOfAtoms*sizeof( float );
memset( amoebaGpu->psE_Field->_pSysStream[0], 0, offset );
amoebaGpu->psE_Field->Upload();
kCalculateAmoebaPMEFixedMultipoleField( amoebaGpu ); kCalculateAmoebaPMEFixedMultipoleField( amoebaGpu );
cudaComputeAmoebaPmeDirectFixedEField( amoebaGpu ); cudaComputeAmoebaPmeDirectFixedEField( amoebaGpu );
} }
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