pub fn neural_potential_energy(
network: &NeuralNetwork,
positions: &[[f64; 3]],
) -> f64Expand description
Compute a scalar potential energy by summing the first network output over all atoms.
Suitable for networks that map a position to a scalar energy contribution.