ForceBalance API
1.3
Automated optimization of force fields and empirical potentials
|
Base class for all engines. More...
Public Member Functions | |
def | __init__ (self, name="engine", kwargs) |
def | setopts (self, kwargs) |
def | readsrc (self, kwargs) |
def | prepare (self, kwargs) |
Public Attributes | |
name | |
verbose | |
target | |
Engines can get properties from the Target that creates them. More... | |
root | |
srcdir | |
tempdir | |
FF | |
Base class for all engines.
In ForceBalance an Engine represents a molecular dynamics code and the calculations that may be carried out with that code.
Previously system calls to MD software have been made by the Target. Duplication of code was occurring, because different Targets were carrying out the same type of calculation.
Target objects should contain Engine objects, because OpenMM Engine objects need to be initialized at the start of a calculation.
def src.engine.Engine.__init__ | ( | self, | |
name = "engine" , |
|||
kwargs | |||
) |
src.engine.Engine.target |