57 |
|
#include "UseTheForce/EAM_FF.hpp" |
58 |
|
#include "UseTheForce/ForceFieldFactory.hpp" |
59 |
|
#include "UseTheForce/ForceFieldCreator.hpp" |
60 |
+ |
#include "lattice/LatticeFactory.hpp" |
61 |
+ |
#include "lattice/LatticeCreator.hpp" |
62 |
+ |
#include "lattice/Lattice.hpp" |
63 |
|
|
64 |
|
namespace oopse { |
65 |
|
|
87 |
|
MinimizerFactory::getInstance()->registerMinimizer(new MinimizerBuilder<PRCGMinimizer>("CG")); |
88 |
|
} |
89 |
|
|
90 |
+ |
void registerLattice(){ |
91 |
+ |
LatticeFactory::getInstance()->registerLattice(new LatticeBuilder<CubicLattice>("CUBIC")); |
92 |
+ |
LatticeFactory::getInstance()->registerLattice(new LatticeBuilder<FCCLattice>("FCC")); |
93 |
+ |
} |
94 |
+ |
|
95 |
|
void registerAll() { |
96 |
|
registerForceFields(); |
97 |
|
registerIntegrators(); |