seamm_geometric package#
Submodules#
seamm_geometric.seamm_geometric module#
- class seamm_geometric.seamm_geometric.SEAMMEngine(step, molecule)[source]#
Bases:
EngineHelper class that is a geomeTRIC engine and connects to SEAMM.
- calc_new(coords, dirname)[source]#
The method to calculate the new energy and forces.
- Parameters:
coords (np.ndarray) – A 1-D Numpy array of the coordinates, in Bohr
dirname (The name of a directory (not used))
- Returns:
data –
The result returned to geomeTRIC:
”energy” : The energy, in Hartree
”gradient” : The 1st derivative, or gradient, of the energy in Hartree/bohr as a 1-D Numpy array.
- Return type:
{str : any}
- class seamm_geometric.seamm_geometric.geomeTRIC_mixin[source]#
Bases:
objectA mixin class for running a geomeTRIC optimization.
- describe_geomeTRIC_optimizer(P=None, short=False, natoms=None)[source]#
Describe the geomeTRIC optimizer.
- Parameters:
P (dict) – An optional dictionary of the current values of the control parameters.
short (bool) – If True, return a short description of the step.
natoms (int) – The number of atoms in the structure.
- Returns:
A description of the current step.
- Return type:
str
- geometric_calculate_gradients(coordinates)[source]#
Given the new coordinates, calculate the energy and gradients.
- Parameters:
coordinates ([3, n_atoms] array of coordinates)
Module contents#
Connector between SEAMM and ASE