1 #ifndef MCMD_COULOMB_FACTORY_CPP 2 #define MCMD_COULOMB_FACTORY_CPP 11 #include <mcMd/potentials/coulomb/CoulombFactory.h> 12 #include <mcMd/simulation/System.h> 17 #include <mcMd/potentials/coulomb/MdCoulombPotential.h> 18 #include <mcMd/potentials/coulomb/MdEwaldPotential.h> 20 #include <mcMd/potentials/coulomb/MdSpmePotential.h> 49 if (name ==
"Ewald") {
53 else if (name ==
"SPME") {
Coulomb potential for an Md simulation.
MdCoulombPotential * factory(const std::string &subclass) const
Return a pointer to a new CoulombPotential, if possible.
A set of interacting Molecules enclosed by a Boundary.
CoulombFactory(System &system)
Default constructor.
MdCoulombPotential * trySubfactories(const std::string &className) const
Search through subfactories for match.
Smooth Particle-Mesh Ewald Coulomb potential for MD simulations.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
Ewald Coulomb potential class for MD simulations.