Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
docking
ocladock
Commits
5e85f6a6
Commit
5e85f6a6
authored
Jun 13, 2018
by
lvs
Browse files
added grad correction for axisangle
parent
d251789a
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
5e85f6a6
...
...
@@ -206,11 +206,11 @@ PDB := 3ce3
NRUN
:=
100
POPSIZE
:=
150
TESTNAME
:=
test
TESTLS
:=
fire
TESTLS
:=
sd
test
:
odock
$(BIN_DIR)
/
$(TARGET)
-ffile
./input/
$(PDB)
/derived/
$(PDB)
_protein.maps.fld
-lfile
./input/
$(PDB)
/derived/
$(PDB)
_ligand.pdbqt
-nrun
$(NRUN)
-psize
$(POPSIZE)
-resnam
$(TESTNAME)
-gfpop
0
-lsmet
$(TESTLS)
-lsit
1
0
$(BIN_DIR)
/
$(TARGET)
-ffile
./input/
$(PDB)
/derived/
$(PDB)
_protein.maps.fld
-lfile
./input/
$(PDB)
/derived/
$(PDB)
_ligand.pdbqt
-nrun
$(NRUN)
-psize
$(POPSIZE)
-resnam
$(TESTNAME)
-gfpop
0
-lsmet
$(TESTLS)
-lsit
3
0
ASTEX_PDB
:=
2bsm
ASTEX_NRUN
:=
10
...
...
device/calcgradient.cl
View file @
5e85f6a6
...
...
@@ -1086,11 +1086,11 @@ void gpu_calc_gradient(
//
Using
interpolation
on
out-of-bounds
elements
results
in
hang
if
(
index_theta
<=
0
)
{
//printf
(
"WARNING: index_theta: %u\n"
,
index_theta
)
;
dependence_on_theta
=
dependence_on_theta_const[0]
;
dependence_on_theta
=
dependence_on_theta_const[0]
;
//printf("%f\n",dependence_on_theta_const[0]);
}
else
if
(
index_theta
>=
999
)
{
//printf
(
"WARNING: index_theta: %u\n"
,
index_theta
)
;
dependence_on_theta
=
dependence_on_theta_const[999]
;
dependence_on_theta
=
dependence_on_theta_const[999]
;
//printf("%f\n",dependence_on_theta_const[999]);
}
else
{
X0_theta
=
angle_const[index_theta]
;
...
...
@@ -1110,11 +1110,11 @@ void gpu_calc_gradient(
//
Using
interpolation
on
previous
and/or
next
elements
results
in
hang
if
(
index_rotangle
<=
0
)
{
//printf
(
"WARNING: index_rotangle: %u\n"
,
index_rotangle
)
;
dependence_on_rotangle
=
dependence_on_rotangle_const[0]
;
dependence_on_rotangle
=
dependence_on_rotangle_const[0]
;
//printf("%f\n",dependence_on_rotangle_const[0]);
}
else
if
(
index_rotangle
>=
999
)
{
//printf
(
"WARNING: index_rotangle: %u\n"
,
index_rotangle
)
;
dependence_on_rotangle
=
dependence_on_rotangle_const[999]
;
dependence_on_rotangle
=
dependence_on_rotangle_const[999]
;
//printf("%f\n",dependence_on_rotangle_const[999]);
}
else
{
X0_rotangle
=
angle_const[index_rotangle]
;
...
...
host/inc/correct_grad_axisangle.h
0 → 100644
View file @
5e85f6a6
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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