*/
#include "gmxpre.h"
+#include "restcbt.h"
+
#include <math.h>
#include "gromacs/math/units.h"
real *prefactor_phi, real *v)
{
- real phi0, sine_phi0, cosine_phi0;
+ real phi0, cosine_phi0;
real k_torsion;
real c_self_ante, c_self_crnt, c_self_post;
real c_cros_ante, c_cros_acrs, c_cros_post;
real sine_phi_sq, cosine_phi;
real delta_cosine, term_phi_phi0;
real ratio_phi_ante, ratio_phi_post;
- real cos_phi, norm_phi;
+ real norm_phi;
/* Read parameters phi0 and k_torsion */
phi0 = forceparams[type].pdihs.phiA * DEG2RAD;
cosine_phi0 = cos(phi0);
- sine_phi0 = sin(phi0);
k_torsion = forceparams[type].pdihs.cpA;
/* Computation of the cosine of the dihedral angle. The scalar ("dot") product method