ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/Register.cpp
(Generate patch)

Comparing trunk/src/brains/Register.cpp (file contents):
Revision 788 by gezelter, Mon Dec 5 22:23:57 2005 UTC vs.
Revision 1292 by chuckv, Fri Sep 12 20:51:22 2008 UTC

# Line 51 | Line 51
51   #include "integrators/NPTxyz.hpp"
52   #include "integrators/NPAT.hpp"
53   #include "integrators/NPrT.hpp"
54 + #include "integrators/NgammaT.hpp"
55 + #include "integrators/LangevinDynamics.hpp"
56 + #include "integrators/SMIPDynamics.hpp"
57  
58   #include "minimizers/MinimizerFactory.hpp"
59   #include "minimizers/MinimizerCreator.hpp"
# Line 62 | Line 65
65   #include "UseTheForce/ForceFieldCreator.hpp"
66   #include "UseTheForce/SHAPES_FF.hpp"
67   #include "UseTheForce/SC_FF.hpp"
68 + #include "UseTheForce/MnM_FF.hpp"
69   #include "UseTheForce/CLAYFF.hpp"
70 + #include "UseTheForce/Amber_FF.hpp"
71   #include "lattice/LatticeFactory.hpp"
72   #include "lattice/LatticeCreator.hpp"
73   #include "lattice/FCCLattice.hpp"
74  
70 #include "openbabel/amberformat.hpp"
71 #include "openbabel/fingerprintformat.hpp"
72 #include "openbabel/gromos96format.hpp"
73 #include "openbabel/oopseformat.hpp"
74 #include "openbabel/pdbformat.hpp"
75 #include "openbabel/povrayformat.hpp"
76 #include "openbabel/smilesformat.hpp"
77 #include "openbabel/tinkerformat.hpp"
78 #include "openbabel/xyzformat.hpp"
79
80
75   namespace oopse {
76  
77  
# Line 93 | Line 87 | namespace oopse {
87      ForceFieldFactory::getInstance()->registerForceField(new ForceFieldBuilder<SHAPES_FF>("SHAPES"));
88      //Well if EAM worked... then Sutton-Chen should work like a CHARMM(Hopefully not).
89      ForceFieldFactory::getInstance()->registerForceField(new ForceFieldBuilder<SC_FF>("SC"));
90 +    //Well if Sutton-Chen worked... then lets just mangle all of the forcefields together in MnM.
91 +    //That sounds like a good idea right......
92 +    ForceFieldFactory::getInstance()->registerForceField(new ForceFieldBuilder<MnM_FF>("MnM"));
93      ForceFieldFactory::getInstance()->registerForceField(new ForceFieldBuilder<CLAYFF>("CLAY"));
94 +    ForceFieldFactory::getInstance()->registerForceField(new ForceFieldBuilder<Amber_FF>("Amber"));
95    }
96 <
96 >  
97    void registerIntegrators() {
98      IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<NVE>("NVE"));
99      IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<NVT>("NVT"));
# Line 104 | Line 102 | namespace oopse {
102      IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<NPTxyz>("NPTXYZ"));
103      IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<NPAT>("NPAT"));
104      IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<NPrT>("NPRT"));
105 <
105 >    IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<NPrT>("NPGT"));
106 >    IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<NgammaT>("NGT"));
107 >    IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<NgammaT>("NGAMMAT"));
108 >    IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<LangevinDynamics>("LANGEVINDYNAMICS"));
109 >    IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<LangevinDynamics>("LD"));
110 >    IntegratorFactory::getInstance()->registerIntegrator(new IntegratorBuilder<SMIPDynamics>("SMIPD"));
111    }
112  
113    void registerMinimizers() {
# Line 116 | Line 119 | namespace oopse {
119      LatticeFactory::getInstance()->registerLattice(new LatticeBuilder<FCCLattice>("FCC"));
120    }
121  
119  void registerOBFormats(){
120    static OpenBabel::AmberPrepFormat amberFormatInstance;
121    static OpenBabel::FingerprintFormat fingerprintFormatInstance;
122    static OpenBabel::OOPSEFormat oopseFormatInstance;    
123    static OpenBabel::PDBFormat pdbFormatInstance;
124    static OpenBabel::PovrayFormat povaryFormatInstance;
125    static OpenBabel::SMIFormat smilesFormatInstance;
126    static OpenBabel::TinkerFormat tinkerFormatInstance;
127    static OpenBabel::XYZFormat xyzFormatInstance;    
128  }
129  
122    void registerAll() {
123      registerForceFields();
124      registerIntegrators();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines