-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNMRdata.h
More file actions
101 lines (85 loc) · 2.1 KB
/
NMRdata.h
File metadata and controls
101 lines (85 loc) · 2.1 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/* Shine - NMR NOESY simulation program
Copyright (C) 2015 Michael Riss
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#ifndef __NMR_DATA
#define __NMR_DATA
#include <vector>
#include <string>
using namespace std;
class hetero;
class proton{
public:
string Name;
double shift;
double spec_shift1;
double spec_shift2;
hetero* hetatom;
double x;
double y;
double z;
double leak;
double fold2;
/* lw */
double linewidth;
double lw1;
double lw2;
double valvef;
proton( string Name = "", char amino = ' ' );
};
class amino;
class hetero{
public:
string Name;
double shift;
double spec_shift2;
double spec_shift3;
vector<proton*> prot;
amino* residue;
double x;
double y;
double z;
double fold2;
double fold3;
/* lw */
double linewidth;
double lw2;
double lw3;
double rj;
double trans;
double valveg;
hetero( string Name = "", char aminoCode = ' ', amino* residue = NULL );
void addproton( proton* h );
};
class amino{
public:
int residueNumber;
char residueName;
vector<hetero*> C13;
vector<hetero*> N15;
vector<proton*> H;
amino( char residueName = '0', int residueNumber = -1 );
void addC13( hetero* het );
void addN15( hetero* het );
};
class protein{
public:
string Name;
vector<amino*> chain;
vector<hetero*> C13;
vector<hetero*> N15;
vector<proton*> H;
vector<proton*> HN;
vector<proton*> HC;
protein();
};
#endif /* __NMR_DATA */