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
b90e80ff
"plugins/vscode:/vscode.git/clone" did not exist on "ac8cb97faf65df05a3d9900911c7355cea0d1854"
Commit
b90e80ff
authored
Jan 07, 2011
by
Mark Friedrichs
Browse files
Renamed OpenMMAmoeba,h to AmoebaOpenMM for consistency w/ other plugin
parent
8928a337
Changes
89
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
98 additions
and
57 deletions
+98
-57
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaPmeDirectElectrostatic.cu
...src/kernels/kCalculateAmoebaCudaPmeDirectElectrostatic.cu
+1
-2
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaPmeMutualInducedField.cu
.../src/kernels/kCalculateAmoebaCudaPmeMutualInducedField.cu
+2
-2
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaRotateFrame.cu
...forms/cuda/src/kernels/kCalculateAmoebaCudaRotateFrame.cu
+68
-25
plugins/amoeba/platforms/cuda/tests/AmoebaTinkerParameterFile.cpp
...amoeba/platforms/cuda/tests/AmoebaTinkerParameterFile.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaForceFromParameterFile.cpp
...forms/cuda/tests/TestCudaAmoebaForceFromParameterFile.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaHarmonicAngleForce.cpp
...platforms/cuda/tests/TestCudaAmoebaHarmonicAngleForce.cpp
+2
-2
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaHarmonicBondForce.cpp
.../platforms/cuda/tests/TestCudaAmoebaHarmonicBondForce.cpp
+2
-2
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaHarmonicInPlaneAngleForce.cpp
...ms/cuda/tests/TestCudaAmoebaHarmonicInPlaneAngleForce.cpp
+2
-2
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaOutOfPlaneBendForce.cpp
...latforms/cuda/tests/TestCudaAmoebaOutOfPlaneBendForce.cpp
+2
-2
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaPME.cpp
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaPME.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaPiTorsionForce.cpp
...eba/platforms/cuda/tests/TestCudaAmoebaPiTorsionForce.cpp
+2
-2
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaStretchBendForce.cpp
...a/platforms/cuda/tests/TestCudaAmoebaStretchBendForce.cpp
+2
-2
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaTorsionForce.cpp
...moeba/platforms/cuda/tests/TestCudaAmoebaTorsionForce.cpp
+2
-2
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaTorsionTorsionForce.cpp
...latforms/cuda/tests/TestCudaAmoebaTorsionTorsionForce.cpp
+2
-2
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaUreyBradleyForce.cpp
...a/platforms/cuda/tests/TestCudaAmoebaUreyBradleyForce.cpp
+2
-2
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaVdwForce.cpp
...ns/amoeba/platforms/cuda/tests/TestCudaAmoebaVdwForce.cpp
+2
-3
plugins/amoeba/platforms/reference/include/AmoebaReferenceKernelFactory.h
...latforms/reference/include/AmoebaReferenceKernelFactory.h
+1
-1
plugins/amoeba/platforms/reference/src/AmoebaReferenceKernelFactory.cpp
.../platforms/reference/src/AmoebaReferenceKernelFactory.cpp
+1
-1
plugins/amoeba/platforms/reference/src/AmoebaReferenceKernels.cpp
...amoeba/platforms/reference/src/AmoebaReferenceKernels.cpp
+1
-1
plugins/amoeba/platforms/reference/src/AmoebaReferenceKernels.h
...s/amoeba/platforms/reference/src/AmoebaReferenceKernels.h
+1
-1
No files found.
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaPmeDirectElectrostatic.cu
View file @
b90e80ff
...
@@ -1413,7 +1413,7 @@ void cudaComputeAmoebaPmeElectrostatic( amoebaGpuContext amoebaGpu )
...
@@ -1413,7 +1413,7 @@ void cudaComputeAmoebaPmeElectrostatic( amoebaGpuContext amoebaGpu )
zeroForce
(
amoebaGpu
);
zeroForce
(
amoebaGpu
);
}
}
if
(
0
){
if
(
1
){
gpuContext
gpu
=
amoebaGpu
->
gpuContext
;
gpuContext
gpu
=
amoebaGpu
->
gpuContext
;
std
::
vector
<
int
>
fileId
;
std
::
vector
<
int
>
fileId
;
...
@@ -1448,7 +1448,6 @@ void cudaComputeAmoebaPmeElectrostatic( amoebaGpuContext amoebaGpu )
...
@@ -1448,7 +1448,6 @@ void cudaComputeAmoebaPmeElectrostatic( amoebaGpuContext amoebaGpu )
cudaWriteVectorOfDoubleVectorsToFile
(
"CudaPrePmeForce"
,
fileId
,
outputVector
);
cudaWriteVectorOfDoubleVectorsToFile
(
"CudaPrePmeForce"
,
fileId
,
outputVector
);
}
}
//zeroForce( amoebaGpu );
cudaComputeAmoebaPmeDirectElectrostatic
(
amoebaGpu
);
cudaComputeAmoebaPmeDirectElectrostatic
(
amoebaGpu
);
kCalculateAmoebaPMEInducedDipoleForces
(
amoebaGpu
);
kCalculateAmoebaPMEInducedDipoleForces
(
amoebaGpu
);
}
}
...
...
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaPmeMutualInducedField.cu
View file @
b90e80ff
...
@@ -33,8 +33,8 @@ void GetCalculateAmoebaCudaPmeMutualInducedFieldSim(amoebaGpuContext amoebaGpu)
...
@@ -33,8 +33,8 @@ void GetCalculateAmoebaCudaPmeMutualInducedFieldSim(amoebaGpuContext amoebaGpu)
RTERROR
(
status
,
"GetCalculateAmoebaCudaPmeMutualInducedFieldSim: cudaMemcpyFromSymbol: SetSim copy from cAmoebaSim failed"
);
RTERROR
(
status
,
"GetCalculateAmoebaCudaPmeMutualInducedFieldSim: cudaMemcpyFromSymbol: SetSim copy from cAmoebaSim failed"
);
}
}
//
#define AMOEBA_DEBUG
#define AMOEBA_DEBUG
#undef AMOEBA_DEBUG
//
#undef AMOEBA_DEBUG
#undef INCLUDE_MI_FIELD_BUFFERS
#undef INCLUDE_MI_FIELD_BUFFERS
#define INCLUDE_MI_FIELD_BUFFERS
#define INCLUDE_MI_FIELD_BUFFERS
...
...
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaRotateFrame.cu
View file @
b90e80ff
...
@@ -547,6 +547,11 @@ void cudaComputeAmoebaLabFrameMoments( amoebaGpuContext amoebaGpu )
...
@@ -547,6 +547,11 @@ void cudaComputeAmoebaLabFrameMoments( amoebaGpuContext amoebaGpu )
}
}
//#define GET_INDUCED_DIPOLE_FROM_FILE
#ifdef GET_INDUCED_DIPOLE_FROM_FILE
#include <stdlib.h>
#endif
void
kCalculateAmoebaMultipoleForces
(
amoebaGpuContext
amoebaGpu
,
bool
hasAmoebaGeneralizedKirkwood
)
void
kCalculateAmoebaMultipoleForces
(
amoebaGpuContext
amoebaGpu
,
bool
hasAmoebaGeneralizedKirkwood
)
{
{
std
::
string
methodName
=
"kCalculateAmoebaMultipoleForces"
;
std
::
string
methodName
=
"kCalculateAmoebaMultipoleForces"
;
...
@@ -576,33 +581,71 @@ void kCalculateAmoebaMultipoleForces(amoebaGpuContext amoebaGpu, bool hasAmoebaG
...
@@ -576,33 +581,71 @@ void kCalculateAmoebaMultipoleForces(amoebaGpuContext amoebaGpu, bool hasAmoebaG
kFindInteractionsWithinBlocksPeriodic_kernel
<<<
gpu
->
sim
.
nonbond_blocks
,
gpu
->
sim
.
nonbond_threads_per_block
,
kFindInteractionsWithinBlocksPeriodic_kernel
<<<
gpu
->
sim
.
nonbond_blocks
,
gpu
->
sim
.
nonbond_threads_per_block
,
sizeof
(
unsigned
int
)
*
gpu
->
sim
.
nonbond_threads_per_block
>>>
(
gpu
->
sim
.
pInteractingWorkUnit
);
sizeof
(
unsigned
int
)
*
gpu
->
sim
.
nonbond_threads_per_block
>>>
(
gpu
->
sim
.
pInteractingWorkUnit
);
LAUNCHERROR
(
"kFindInteractionsWithinBlocksPeriodic"
);
LAUNCHERROR
(
"kFindInteractionsWithinBlocksPeriodic"
);
/*
if
(
0
){
if( 0 ){
gpu
->
psInteractionCount
->
Download
();
gpu->psInteractionCount->Download();
gpu
->
psInteractingWorkUnit
->
Download
();
gpu->psInteractingWorkUnit->Download();
gpu
->
psInteractionFlag
->
Download
();
gpu->psInteractionFlag->Download();
amoebaGpu
->
psWorkUnit
->
Download
();
amoebaGpu->psWorkUnit->Download();
(
void
)
fprintf
(
amoebaGpu
->
log
,
"Ixn count=%u
\n
"
,
gpu
->
psInteractionCount
->
_pSysStream
[
0
][
0
]
);
(void) fprintf( amoebaGpu->log, "Ixn count=%u\n", gpu->psInteractionCount->_pSysStream[0][0] );
for
(
unsigned
int
ii
=
0
;
ii
<
gpu
->
psInteractingWorkUnit
->
_length
;
ii
++
){
for( unsigned int ii = 0; ii < gpu->psInteractingWorkUnit->_length; ii++ ){
unsigned
int
x
=
gpu
->
psInteractingWorkUnit
->
_pSysStream
[
0
][
ii
];
unsigned int x = gpu->psInteractingWorkUnit->_pSysStream[0][ii];
unsigned
int
y
=
((
x
>>
2
)
&
0x7fff
)
<<
GRIDBITS
;
unsigned int y = ((x >> 2) & 0x7fff) << GRIDBITS;
//unsigned int y = ((x >> 2) & 0x7fff);
//unsigned int y = ((x >> 2) & 0x7fff);
unsigned
int
exclusions
=
(
x
&
0x1
);
unsigned int exclusions = (x & 0x1);
x
=
(
x
>>
17
)
<<
GRIDBITS
;
x = (x >> 17) << GRIDBITS;
// x = (x >> 17);
// x = (x >> 17);
(
void
)
fprintf
(
amoebaGpu
->
log
,
"GpuCell %8u %8u [%5u %5u %1u] %10u "
,
ii
,
gpu
->
psInteractingWorkUnit
->
_pSysStream
[
0
][
ii
],
x
,
y
,
exclusions
,
gpu
->
psInteractionFlag
->
_pSysStream
[
0
][
ii
]
);
(void) fprintf( amoebaGpu->log, "GpuCell %8u %8u [%5u %5u %1u] %10u ", ii, gpu->psInteractingWorkUnit->_pSysStream[0][ii], x,y,exclusions, gpu->psInteractionFlag->_pSysStream[0][ii] );
x
=
amoebaGpu
->
psWorkUnit
->
_pSysStream
[
0
][
ii
];
x = amoebaGpu->psWorkUnit->_pSysStream[0][ii];
y
=
((
x
>>
2
)
&
0x7fff
)
<<
GRIDBITS
;
y = ((x >> 2) & 0x7fff) << GRIDBITS;
exclusions
=
(
x
&
0x1
);
exclusions = (x & 0x1);
x
=
(
x
>>
17
)
<<
GRIDBITS
;
x = (x >> 17) << GRIDBITS;
(
void
)
fprintf
(
amoebaGpu
->
log
,
" AmGpu %8u [%5u %5u %1u]
\n
"
,
amoebaGpu
->
psWorkUnit
->
_pSysStream
[
0
][
ii
],
x
,
y
,
exclusions
);
(void) fprintf( amoebaGpu->log, " AmGpu %8u [%5u %5u %1u]\n", amoebaGpu->psWorkUnit->_pSysStream[0][ii], x,y,exclusions );
}
}
}
}
*/
cudaComputeAmoebaPmeFixedEField
(
amoebaGpu
);
cudaComputeAmoebaPmeFixedEField
(
amoebaGpu
);
cudaComputeAmoebaPmeMutualInducedField
(
amoebaGpu
);
cudaComputeAmoebaPmeMutualInducedField
(
amoebaGpu
);
#ifdef GET_INDUCED_DIPOLE_FROM_FILE
if
(
0
){
//std::string fileName = "waterInducedDipole.txt";
std
::
string
fileName
=
"water_3_MI.txt"
;
StringVectorVector
fileContents
;
readFile
(
fileName
,
fileContents
);
unsigned
int
offset
=
0
;
(
void
)
fprintf
(
amoebaGpu
->
log
,
"Read file: %s %u
\n
"
,
fileName
.
c_str
(),
fileContents
.
size
()
);
fflush
(
amoebaGpu
->
log
);
for
(
unsigned
int
ii
=
1
;
ii
<
fileContents
.
size
()
-
1
;
ii
++
){
StringVector
lineTokens
=
fileContents
[
ii
];
unsigned
int
lineTokenIndex
=
1
;
(
void
)
fprintf
(
amoebaGpu
->
log
,
" %u %s [%s %s %s] [%15.7e %15.7e %15.7e]
\n
"
,
ii
,
lineTokens
[
0
].
c_str
(),
lineTokens
[
lineTokenIndex
].
c_str
(),
lineTokens
[
lineTokenIndex
+
1
].
c_str
(),
lineTokens
[
lineTokenIndex
+
2
].
c_str
(),
amoebaGpu
->
psInducedDipole
->
_pSysStream
[
0
][
offset
],
amoebaGpu
->
psInducedDipole
->
_pSysStream
[
0
][
offset
+
1
],
amoebaGpu
->
psInducedDipole
->
_pSysStream
[
0
][
offset
+
2
]);
amoebaGpu
->
psInducedDipole
->
_pSysStream
[
0
][
offset
++
]
=
static_cast
<
float
>
(
atof
(
lineTokens
[
lineTokenIndex
++
].
c_str
()));
amoebaGpu
->
psInducedDipole
->
_pSysStream
[
0
][
offset
++
]
=
static_cast
<
float
>
(
atof
(
lineTokens
[
lineTokenIndex
++
].
c_str
()));
amoebaGpu
->
psInducedDipole
->
_pSysStream
[
0
][
offset
++
]
=
static_cast
<
float
>
(
atof
(
lineTokens
[
lineTokenIndex
++
].
c_str
()));
offset
-=
3
;
amoebaGpu
->
psInducedDipolePolar
->
_pSysStream
[
0
][
offset
++
]
=
static_cast
<
float
>
(
atof
(
lineTokens
[
lineTokenIndex
++
].
c_str
()));
amoebaGpu
->
psInducedDipolePolar
->
_pSysStream
[
0
][
offset
++
]
=
static_cast
<
float
>
(
atof
(
lineTokens
[
lineTokenIndex
++
].
c_str
()));
amoebaGpu
->
psInducedDipolePolar
->
_pSysStream
[
0
][
offset
++
]
=
static_cast
<
float
>
(
atof
(
lineTokens
[
lineTokenIndex
++
].
c_str
()));
}
(
void
)
fflush
(
amoebaGpu
->
log
);
float
conversion
=
0.1
f
;
for
(
int
ii
=
0
;
ii
<
3
*
gpu
->
natoms
;
ii
++
){
amoebaGpu
->
psInducedDipole
->
_pSysStream
[
0
][
ii
]
*=
conversion
;
amoebaGpu
->
psInducedDipolePolar
->
_pSysStream
[
0
][
ii
]
*=
conversion
;
}
//amoebaGpu->gpuContext->sim.alphaEwald = 5.4459052e+00f;
//SetCalculateAmoebaPmeDirectElectrostaticSim(amoebaGpu);
amoebaGpu
->
psInducedDipole
->
Upload
();
amoebaGpu
->
psInducedDipolePolar
->
Upload
();
}
#endif
}
}
}
}
...
...
plugins/amoeba/platforms/cuda/tests/AmoebaTinkerParameterFile.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaForceFromParameterFile.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaHarmonicAngleForce.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "../../../tests/AssertionUtilities.h"
#include "../../../tests/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "
Amoeba
OpenMM.h"
#include "OpenMM
Amoeba
.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include "openmm/LangevinIntegrator.h"
#include "openmm/LangevinIntegrator.h"
#include <iostream>
#include <iostream>
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaHarmonicBondForce.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "../../../tests/AssertionUtilities.h"
#include "../../../tests/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "
Amoeba
OpenMM.h"
#include "OpenMM
Amoeba
.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include "openmm/LangevinIntegrator.h"
#include "openmm/LangevinIntegrator.h"
#include <iostream>
#include <iostream>
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaHarmonicInPlaneAngleForce.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "../../../tests/AssertionUtilities.h"
#include "../../../tests/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "
Amoeba
OpenMM.h"
#include "OpenMM
Amoeba
.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include "openmm/LangevinIntegrator.h"
#include "openmm/LangevinIntegrator.h"
#include <iostream>
#include <iostream>
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaOutOfPlaneBendForce.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "../../../tests/AssertionUtilities.h"
#include "../../../tests/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "
Amoeba
OpenMM.h"
#include "OpenMM
Amoeba
.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include "openmm/LangevinIntegrator.h"
#include "openmm/LangevinIntegrator.h"
#include <iostream>
#include <iostream>
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaPME.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaPiTorsionForce.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "../../../tests/AssertionUtilities.h"
#include "../../../tests/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "
Amoeba
OpenMM.h"
#include "OpenMM
Amoeba
.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include "openmm/LangevinIntegrator.h"
#include "openmm/LangevinIntegrator.h"
#include <iostream>
#include <iostream>
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaStretchBendForce.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "../../../tests/AssertionUtilities.h"
#include "../../../tests/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "
Amoeba
OpenMM.h"
#include "OpenMM
Amoeba
.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include "openmm/LangevinIntegrator.h"
#include "openmm/LangevinIntegrator.h"
#include <iostream>
#include <iostream>
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaTorsionForce.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "../../../tests/AssertionUtilities.h"
#include "../../../tests/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "
Amoeba
OpenMM.h"
#include "OpenMM
Amoeba
.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include "openmm/LangevinIntegrator.h"
#include "openmm/LangevinIntegrator.h"
#include <iostream>
#include <iostream>
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaTorsionTorsionForce.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
//#include "AmoebaTinkerParameterFile.h"
//#include "AmoebaTinkerParameterFile.h"
const
double
DegreesToRadians
=
3.14159265
/
180.0
;
const
double
DegreesToRadians
=
3.14159265
/
180.0
;
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "
Amoeba
OpenMM.h"
#include "OpenMM
Amoeba
.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include "openmm/AmoebaTorsionTorsionForce.h"
#include "openmm/AmoebaTorsionTorsionForce.h"
#include "openmm/LangevinIntegrator.h"
#include "openmm/LangevinIntegrator.h"
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaUreyBradleyForce.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "../../../tests/AssertionUtilities.h"
#include "../../../tests/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "
Amoeba
OpenMM.h"
#include "OpenMM
Amoeba
.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include "openmm/LangevinIntegrator.h"
#include "openmm/LangevinIntegrator.h"
#include <iostream>
#include <iostream>
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaVdwForce.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
* OpenMM
*
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
@@ -34,9 +34,8 @@
...
@@ -34,9 +34,8 @@
*/
*/
#include "../../../tests/AssertionUtilities.h"
#include "../../../tests/AssertionUtilities.h"
//#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "
Amoeba
OpenMM.h"
#include "OpenMM
Amoeba
.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include "openmm/AmoebaVdwForce.h"
#include "openmm/AmoebaVdwForce.h"
#include "openmm/LangevinIntegrator.h"
#include "openmm/LangevinIntegrator.h"
...
...
plugins/amoeba/platforms/reference/include/AmoebaReferenceKernelFactory.h
View file @
b90e80ff
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#define AMOEBA_OPENMM_REFERERENCE_KERNEL_FACTORY_H_
#define AMOEBA_OPENMM_REFERERENCE_KERNEL_FACTORY_H_
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
*
Amoeba
OpenMM *
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
...
plugins/amoeba/platforms/reference/src/AmoebaReferenceKernelFactory.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
*
Amoeba
OpenMM *
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
...
plugins/amoeba/platforms/reference/src/AmoebaReferenceKernels.cpp
View file @
b90e80ff
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
*
Amoeba
OpenMM *
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
...
plugins/amoeba/platforms/reference/src/AmoebaReferenceKernels.h
View file @
b90e80ff
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#define AMOEBA_OPENMM_REFERENCE_KERNELS_H_
#define AMOEBA_OPENMM_REFERENCE_KERNELS_H_
/* -------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------- *
*
Amoeba
OpenMM *
* OpenMM
Amoeba
*
* -------------------------------------------------------------------------- *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
* This is part of the OpenMM molecular simulation toolkit originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Simbios, the NIH National Center for Physics-Based Simulation of *
...
...
Prev
1
2
3
4
5
Next
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