64 |
|
#include "UseTheForce/ForceFieldCreator.hpp" |
65 |
|
#include "UseTheForce/SHAPES_FF.hpp" |
66 |
|
#include "UseTheForce/SC_FF.hpp" |
67 |
+ |
#include "UseTheForce/MnM_FF.hpp" |
68 |
|
#include "UseTheForce/CLAYFF.hpp" |
69 |
+ |
#include "UseTheForce/Amber_FF.hpp" |
70 |
|
#include "lattice/LatticeFactory.hpp" |
71 |
|
#include "lattice/LatticeCreator.hpp" |
72 |
|
#include "lattice/FCCLattice.hpp" |
73 |
|
|
72 |
– |
//#include "openbabel/amberformat.hpp" |
73 |
– |
//#include "openbabel/fingerprintformat.hpp" |
74 |
– |
//#include "openbabel/gromos96format.hpp" |
75 |
– |
#include "openbabel/oopseformat.hpp" |
76 |
– |
#include "openbabel/pdbformat.hpp" |
77 |
– |
//#include "openbabel/povrayformat.hpp" |
78 |
– |
//#include "openbabel/smilesformat.hpp" |
79 |
– |
#include "openbabel/tinkerformat.hpp" |
80 |
– |
#include "openbabel/xyzformat.hpp" |
81 |
– |
|
82 |
– |
|
74 |
|
namespace oopse { |
75 |
|
|
76 |
|
|
86 |
|
ForceFieldFactory::getInstance()->registerForceField(new ForceFieldBuilder<SHAPES_FF>("SHAPES")); |
87 |
|
//Well if EAM worked... then Sutton-Chen should work like a CHARMM(Hopefully not). |
88 |
|
ForceFieldFactory::getInstance()->registerForceField(new ForceFieldBuilder<SC_FF>("SC")); |
89 |
+ |
//Well if Sutton-Chen worked... then lets just mangle all of the forcefields together in MnM. |
90 |
+ |
//That sounds like a good idea right...... |
91 |
+ |
ForceFieldFactory::getInstance()->registerForceField(new ForceFieldBuilder<MnM_FF>("MnM")); |
92 |
|
ForceFieldFactory::getInstance()->registerForceField(new ForceFieldBuilder<CLAYFF>("CLAY")); |
93 |
+ |
ForceFieldFactory::getInstance()->registerForceField(new ForceFieldBuilder<Amber_FF>("Amber")); |
94 |
|
} |
95 |
< |
|
95 |
> |
|
96 |
|
void registerIntegrators() { |
97 |
|
IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<NVE>("NVE")); |
98 |
|
IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<NVT>("NVT")); |
119 |
|
LatticeFactory::getInstance()->registerLattice(new LatticeBuilder<FCCLattice>("FCC")); |
120 |
|
} |
121 |
|
|
127 |
– |
void registerOBFormats(){ |
128 |
– |
//static OpenBabel::AmberPrepFormat amberFormatInstance; |
129 |
– |
//static OpenBabel::FingerprintFormat fingerprintFormatInstance; |
130 |
– |
static OpenBabel::OOPSEFormat oopseFormatInstance; |
131 |
– |
static OpenBabel::PDBFormat pdbFormatInstance; |
132 |
– |
//static OpenBabel::PovrayFormat povaryFormatInstance; |
133 |
– |
//static OpenBabel::SMIFormat smilesFormatInstance; |
134 |
– |
static OpenBabel::TinkerFormat tinkerFormatInstance; |
135 |
– |
static OpenBabel::XYZFormat xyzFormatInstance; |
136 |
– |
} |
137 |
– |
|
122 |
|
void registerAll() { |
123 |
|
registerForceFields(); |
124 |
|
registerIntegrators(); |