Class MMFFExternalPositionConstraint
- java.lang.Object
-
- com.actelion.research.chem.forcefield.mmff.MMFFExternalPositionConstraint
-
- All Implemented Interfaces:
EnergyTerm
public class MMFFExternalPositionConstraint extends java.lang.Object implements EnergyTerm
-
-
Constructor Summary
Constructors Constructor Description MMFFExternalPositionConstraint(int atom, double[] refPos, double k, double d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getEnergy(double[] pos)
void
getGradient(double[] pos, double[] grad)
-
-
-
Method Detail
-
getEnergy
public double getEnergy(double[] pos)
- Specified by:
getEnergy
in interfaceEnergyTerm
-
getGradient
public void getGradient(double[] pos, double[] grad)
- Specified by:
getGradient
in interfaceEnergyTerm
-
-