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
1a080445
Commit
1a080445
authored
Dec 18, 2018
by
Leonardo Solis
Browse files
#38, removed unused annotations
parent
e67c351f
Changes
2
Hide whitespace changes
Inline
Side-by-side
host/inc/miscellaneous.h
View file @
1a080445
...
...
@@ -66,8 +66,10 @@ double distance(const double [], const double []);
void
vec_point2line
(
const
double
[],
const
double
[],
const
double
[],
double
[]);
void
rotate
(
double
[],
const
double
[],
const
double
[],
const
double
*
,
int
);
#if 0
// -------------------------------------------------------------------
// L30nardoSV
// Replacing rotation genes: from spherical space to Shoemake space
// gene [0:2]: translation -> kept as original x, y, z
// gene [3:5]: rotation -> transformed into Shoemake (u1: adimensional, u2&u3: sexagesimal)
...
...
@@ -80,10 +82,8 @@ void vec_point2line(const double [], const double [], const double [], double []
// Random generator in the host is changed:
// LCG (original, myrand()) -> CPP std (rand())
// -------------------------------------------------------------------
void
rotate
(
double
[],
const
double
[],
const
double
[],
const
double
*
,
int
);
void rotate_shoemake(double [], const double [], const double [], int);
#endif
double
angle_of_vectors
(
const
double
[],
const
double
[]);
...
...
host/src/processligand.cpp
View file @
1a080445
...
...
@@ -1217,20 +1217,6 @@ void calc_q_tables_f(const Liganddata* myligand,
}
// -------------------------------------------------------------------
// L30nardoSV
// Replacing rotation genes: from spherical space to Shoemake space
// gene [0:2]: translation -> kept as original x, y, z
// gene [3:5]: rotation -> transformed into Shoemake (u1: adimensional, u2&u3: sexagesimal)
// gene [6:N]: torsions -> kept as original angles (all in sexagesimal)
// Shoemake ranges:
// u1: [0, 1]
// u2: [0: 2PI] or [0: 360]
// Random generator in the host is changed:
// LCG (original, myrand()) -> CPP std (rand())
// -------------------------------------------------------------------
#if 1
void
change_conform_f
(
Liganddata
*
myligand
,
const
float
genotype_f
[],
...
...
@@ -1320,6 +1306,19 @@ void change_conform_f(Liganddata* myligand,
#endif // End of original change_conform_f()
#if 0
// -------------------------------------------------------------------
// Replacing rotation genes: from spherical space to Shoemake space
// gene [0:2]: translation -> kept as original x, y, z
// gene [3:5]: rotation -> transformed into Shoemake (u1: adimensional, u2&u3: sexagesimal)
// gene [6:N]: torsions -> kept as original angles (all in sexagesimal)
// Shoemake ranges:
// u1: [0, 1]
// u2: [0: 2PI] or [0: 360]
// Random generator in the host is changed:
// LCG (original, myrand()) -> CPP std (rand())
// -------------------------------------------------------------------
void change_conform_f(Liganddata* myligand,
const float genotype_f [],
float* cpu_ref_ori_angles,
...
...
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