Rosetta Utilities  2014.35
bridgeObjects.cc File Reference

Solves the triaxial loop closure problem for a system of atoms. More...

`#include <cmath>`
`#include <utility/vector1.hh>`
`#include <numeric/types.hh>`
`#include <numeric/kinematic_closure/dixon.hh>`
`#include <numeric/kinematic_closure/kinematic_closure_helpers.hh>`
`#include <iostream>`

## Namespaces

numeric

numeric::kinematic_closure

## Macros

#define pi   3.14159265358979323846264338327950288

#define pidegs   180.0

## Functions

void numeric::kinematic_closure::triangle (const utility::vector1< Real > &vbond, utility::vector1< Real > &calpha, utility::vector1< Real > &salpha)

void numeric::kinematic_closure::sincos (const utility::vector1< Real > &theta, const int flag, utility::vector1< Real > &cosine, utility::vector1< Real > &sine)

void numeric::kinematic_closure::triaxialCoefficients (const utility::vector1< Real > &vb, const utility::vector1< Real > &xi, const utility::vector1< Real > &eta, const utility::vector1< Real > &delta, const utility::vector1< Real > &theta, const utility::vector1< int > &order, utility::vector1< utility::vector1< Real > > &A, utility::vector1< utility::vector1< Real > > &B, utility::vector1< utility::vector1< Real > > &C, utility::vector1< utility::vector1< Real > > &D, utility::vector1< Real > &cal, utility::vector1< Real > &sal, int &f)

void numeric::kinematic_closure::cross (const utility::vector1< Real > &L, const utility::vector1< Real > &r0, utility::vector1< Real > &r)

void numeric::kinematic_closure::frame (const utility::vector1< utility::vector1< Real > > &R, utility::vector1< utility::vector1< Real > > &U)

Real numeric::kinematic_closure::eucDistance (const utility::vector1< Real > &a, const utility::vector1< Real > &b)

Real numeric::kinematic_closure::scpn (const utility::vector1< Real > &a, const utility::vector1< Real > &b, const utility::vector1< Real > &c)

Real numeric::kinematic_closure::bondangle (const utility::vector1< Real > &a, const utility::vector1< Real > &b, const utility::vector1< Real > &c)

Real numeric::kinematic_closure::torsion (const utility::vector1< Real > &a, const utility::vector1< Real > &b, const utility::vector1< Real > &c, const utility::vector1< Real > &d)

void numeric::kinematic_closure::chainParams (const int &n, const utility::vector1< utility::vector1< Real > > &atoms, Real &vbond, Real &xi, Real &eta, Real &delta, utility::vector1< Real > &R0, utility::vector1< utility::vector1< Real > > &Q)

void numeric::kinematic_closure::chainXYZ (const int &n, const utility::vector1< Real > &b_len1, const utility::vector1< Real > &b_ang1, const utility::vector1< Real > &t_ang1, const bool space, const utility::vector1< Real > &R0, const utility::vector1< utility::vector1< Real > > &Q, utility::vector1< utility::vector1< Real > > &atoms)

void numeric::kinematic_closure::chainXYZ (const int &n, const utility::vector1< Real > &b_len, const utility::vector1< Real > &b_ang, const utility::vector1< Real > &t_ang, utility::vector1< utility::vector1< Real > > &atoms)

void numeric::kinematic_closure::chainTORS (const int &n, const utility::vector1< utility::vector1< Real > > &atoms, utility::vector1< Real > &t_ang, utility::vector1< Real > &b_ang, utility::vector1< Real > &b_len, utility::vector1< Real > &R0, utility::vector1< utility::vector1< Real > > &Q)

void numeric::kinematic_closure::rotateX (const utility::vector1< utility::vector1< Real > > &R, const Real &c, const Real &s, utility::vector1< utility::vector1< Real > > &Rx)

void numeric::kinematic_closure::rotateY (const utility::vector1< utility::vector1< Real > > &R, const Real &c, const Real &s, utility::vector1< utility::vector1< Real > > &Ry)

void numeric::kinematic_closure::rotateZ (const utility::vector1< utility::vector1< Real > > &R, const Real &c, const Real &s, utility::vector1< utility::vector1< Real > > &Rz)

void numeric::kinematic_closure::bridgeObjects (const utility::vector1< utility::vector1< Real > > &atoms, const utility::vector1< Real > &dt, const utility::vector1< Real > &da, const utility::vector1< Real > &db, const utility::vector1< int > &pivots, const utility::vector1< int > &order, utility::vector1< utility::vector1< Real > > &t_ang, utility::vector1< utility::vector1< Real > > &b_ang, utility::vector1< utility::vector1< Real > > &b_len, int &nsol)
Solve the triaxial loop closure problem for a system of atoms. More...

void numeric::kinematic_closure::test_bridgeObjects ()

void numeric::kinematic_closure::test_rotateX ()

void numeric::kinematic_closure::test_chainTORS ()

void numeric::kinematic_closure::test_chainXYZ ()

void numeric::kinematic_closure::test_chainParams ()

void numeric::kinematic_closure::test_torsion ()

void numeric::kinematic_closure::test_bondangle ()

void numeric::kinematic_closure::test_scpn ()

void numeric::kinematic_closure::test_eucDistance ()

void numeric::kinematic_closure::test_frame ()

void numeric::kinematic_closure::test_cross ()

void numeric::kinematic_closure::test_triaxialCoefficients ()

void numeric::kinematic_closure::test_sincos ()

void numeric::kinematic_closure::test_triangle ()

## Detailed Description

Solves the triaxial loop closure problem for a system of atoms.