pub fn optimize_framework(
elements: &[u8],
initial_positions: &[[f64; 3]],
energy_force_fn: &EnergyForceFn,
config: &FrameworkOptConfig,
) -> Result<FrameworkOptResult, String>Expand description
Optimize framework geometry using the specified method.
§Arguments
elements- Atomic numbersinitial_positions- Starting coordinates (Å)energy_force_fn- Function computing energy and forcesconfig- Optimization configuration