All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.actelion.research.chem.forcefield.ForceField Maven / Gradle / Ivy

There is a newer version: 2024.11.2
Show newest version
package com.actelion.research.chem.forcefield;

public interface ForceField {
	public double getTotalEnergy(double[] pos);
	
	public double getTotalEnergy();

	/**
	 * updates the gradient of the ForceField and returns the gradient scale
	 * @return
	 */
	public double updateGradient();

	public double[] getCurrentPositions();

	public void addListener(ForceFieldChangeListener listener);
	
	public void setFixedAtoms(int[] atoms);
	
	
	/**
	 * zeroes out gradient for fixed atoms
	 */
	
	public void zeroGradient();

	public int minimise();

	public void interrupt();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy