-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathOMS.h
48 lines (32 loc) · 876 Bytes
/
OMS.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// OMS, a library for determining the exposure grade of a molecule
//
// OMS.hh
//
// Routines for single molecule analysis
//
// Author : Ismael Gómez García
// Email :
// Date : November 27th 2015
#ifndef _OMS_H_
#define _OMS_H_
#include <vector>
#include <cmath>
#include <algorithm>
#include <stdlib.h>
#include <iostream>
#include "Eigen/Dense"
#include "zeo_consts.h"
#define DIM 3
#define PHI_COORD 0
#define THETA_COORD 1
#define R_COORD 2
#define X_COORD 0
#define Y_COORD 1
#define Z_COORD 2
#define ERR_TOL 0.0000000000000001
using namespace std;
using namespace Eigen;
bool IsExposedMolecule (vector < vector <double> > MoleculeCoordinates);
bool IsExposedMoleculeThreshold (vector < vector <double> > MoleculeCoordinates, double Threshold );
double DegreeOfExposure (vector < vector <double> > MoleculeCoordinates);
#endif