52 |
|
#include "utils/simError.h" |
53 |
|
#include "utils/Tuple.hpp" |
54 |
|
#include "UseTheForce/DarkSide/atype_interface.h" |
55 |
– |
#include "UseTheForce/DarkSide/fForceOptions_interface.h" |
56 |
– |
#include "UseTheForce/DarkSide/switcheroo_interface.h" |
55 |
|
namespace OpenMD { |
56 |
|
|
57 |
|
ForceField::ForceField() { |
70 |
|
|
71 |
|
ForceField::~ForceField() { |
72 |
|
deleteAtypes(); |
75 |
– |
deleteSwitch(); |
73 |
|
} |
74 |
|
|
75 |
|
AtomType* ForceField::getAtomType(const std::string &at) { |
628 |
|
return ffStream; |
629 |
|
} |
630 |
|
|
634 |
– |
void ForceField::setFortranForceOptions(){ |
635 |
– |
ForceOptions theseFortranOptions; |
636 |
– |
forceFieldOptions_.makeFortranOptions(theseFortranOptions); |
637 |
– |
setfForceOptions(&theseFortranOptions); |
638 |
– |
} |
631 |
|
} //end namespace OpenMD |