Commit 980280cb authored by Mark Friedrichs's avatar Mark Friedrichs
Browse files

Always update data structs used by local forces

parent 82159daf
...@@ -3029,13 +3029,13 @@ void amoebaGpuSetConstants(amoebaGpuContext amoebaGpu, int updateFlag ) ...@@ -3029,13 +3029,13 @@ void amoebaGpuSetConstants(amoebaGpuContext amoebaGpu, int updateFlag )
amoebaGpu->gpuContext->sim.preFactor = -amoebaGpu->amoebaSim.electric*((1.0f/amoebaGpu->amoebaSim.dielec)-(1.0f/amoebaGpu->amoebaSim.dwater)); amoebaGpu->gpuContext->sim.preFactor = -amoebaGpu->amoebaSim.electric*((1.0f/amoebaGpu->amoebaSim.dielec)-(1.0f/amoebaGpu->amoebaSim.dwater));
} }
gpuSetAmoebaBondOffsets( amoebaGpu ); gpuSetAmoebaBondOffsets( amoebaGpu );
SetCalculateAmoebaLocalForcesSim( amoebaGpu );
SetCalculateAmoebaCudaWcaDispersionSim( amoebaGpu ); SetCalculateAmoebaCudaWcaDispersionSim( amoebaGpu );
SetCalculateAmoebaKirkwoodSim( amoebaGpu ); SetCalculateAmoebaKirkwoodSim( amoebaGpu );
SetCalculateAmoebaKirkwoodEDiffSim( amoebaGpu ); SetCalculateAmoebaKirkwoodEDiffSim( amoebaGpu );
SetCalculateAmoebaGrycukSim( amoebaGpu ); SetCalculateAmoebaGrycukSim( amoebaGpu );
} }
SetCalculateAmoebaLocalForcesSim( amoebaGpu );
SetCalculateAmoebaCudaUtilitiesSim( amoebaGpu ); SetCalculateAmoebaCudaUtilitiesSim( amoebaGpu );
SetCalculateAmoebaMultipoleForcesSim( amoebaGpu ); SetCalculateAmoebaMultipoleForcesSim( amoebaGpu );
SetCalculateAmoebaCudaFixedEFieldSim( amoebaGpu ); SetCalculateAmoebaCudaFixedEFieldSim( 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