1 |
< |
#include <cstlib> |
1 |
> |
#include <cstdlib> |
2 |
|
|
3 |
|
|
4 |
|
#include "Molecule.hpp" |
5 |
+ |
#include "simError.h" |
6 |
|
|
7 |
|
|
8 |
|
|
61 |
|
myBonds = theInit.myBonds; |
62 |
|
myBends = theInit.myBends; |
63 |
|
myTorsions = theInit.myTorsions; |
64 |
< |
myExcludes = theInit.myExcludses; |
64 |
> |
myExcludes = theInit.myExcludes; |
65 |
|
|
66 |
|
} |
67 |
|
|
83 |
|
} |
84 |
|
|
85 |
|
|
86 |
< |
void Molecule::getPotential( void ){ |
86 |
> |
double Molecule::getPotential( void ){ |
87 |
|
|
88 |
|
int i; |
89 |
|
double myPot = 0.0; |
102 |
|
|
103 |
|
return myPot; |
104 |
|
} |
105 |
+ |
|
106 |
+ |
void Molecule::printMe( void ){ |
107 |
+ |
|
108 |
+ |
int i; |
109 |
+ |
|
110 |
+ |
for(i=0; i<nBonds; i++){ |
111 |
+ |
myBonds[i]->printMe(); |
112 |
+ |
} |
113 |
+ |
|
114 |
+ |
for(i=0; i<nBends; i++){ |
115 |
+ |
myBends[i]->printMe(); |
116 |
+ |
} |
117 |
+ |
|
118 |
+ |
for(i=0; i<nTorsions; i++){ |
119 |
+ |
myTorsions[i]->printMe(); |
120 |
+ |
} |
121 |
+ |
} |