Commit 1a080445 authored by Leonardo Solis's avatar Leonardo Solis

#38, removed unused annotations

parent e67c351f
...@@ -66,8 +66,10 @@ double distance(const double [], const double []); ...@@ -66,8 +66,10 @@ double distance(const double [], const double []);
void vec_point2line(const double [], const double [], const double [], 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 // Replacing rotation genes: from spherical space to Shoemake space
// gene [0:2]: translation -> kept as original x, y, z // gene [0:2]: translation -> kept as original x, y, z
// gene [3:5]: rotation -> transformed into Shoemake (u1: adimensional, u2&u3: sexagesimal) // 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 [] ...@@ -80,10 +82,8 @@ void vec_point2line(const double [], const double [], const double [], double []
// Random generator in the host is changed: // Random generator in the host is changed:
// LCG (original, myrand()) -> CPP std (rand()) // 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); void rotate_shoemake(double [], const double [], const double [], int);
#endif
double angle_of_vectors(const double [], const double []); double angle_of_vectors(const double [], const double []);
......
...@@ -1217,20 +1217,6 @@ void calc_q_tables_f(const Liganddata* myligand, ...@@ -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 #if 1
void change_conform_f(Liganddata* myligand, void change_conform_f(Liganddata* myligand,
const float genotype_f [], const float genotype_f [],
...@@ -1320,6 +1306,19 @@ void change_conform_f(Liganddata* myligand, ...@@ -1320,6 +1306,19 @@ void change_conform_f(Liganddata* myligand,
#endif // End of original change_conform_f() #endif // End of original change_conform_f()
#if 0 #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, void change_conform_f(Liganddata* myligand,
const float genotype_f [], const float genotype_f [],
float* cpu_ref_ori_angles, float* cpu_ref_ori_angles,
......
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