Package ffx.potential.nonbonded
Class NonbondedCutoff
java.lang.Object
ffx.potential.nonbonded.NonbondedCutoff
This class contains fields and methods for maintaining details of non-bonded cutoffs.
- Author:
- Michael J. Schnieders
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal doubleA buffer added to the cut-off distanceoffto define neighbors included when collecting Verlet lists.final doubleAt the distance "cut", a multiplicative switch begins to be applied.final doubleThe distance cut squared.final doubleAll vdW interactions are 0 at the distance "off".final doubleThe distance off squared. -
Constructor Summary
ConstructorsConstructorDescriptionNonbondedCutoff(double off, double cut, double buff) Non-bonded Cutoff constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic NonbondedCutoffReturns a NonbondedCutoff that does not cut off anything.
-
Field Details
-
cut
public final double cutAt the distance "cut", a multiplicative switch begins to be applied. -
cut2
public final double cut2The distance cut squared. -
off
public final double offAll vdW interactions are 0 at the distance "off". -
off2
public final double off2The distance off squared. -
buff
public final double buffA buffer added to the cut-off distanceoffto define neighbors included when collecting Verlet lists.
-
-
Constructor Details
-
NonbondedCutoff
public NonbondedCutoff(double off, double cut, double buff) Non-bonded Cutoff constructor.- Parameters:
off- All vdW interactions are 0 at the distanceoff.cut- At the distancecut, a multiplicative switch begins to be applied.buff- A buffer added to the cut-off distanceoffto define neighbors included when collecting Verlet lists.
-
-
Method Details
-
noCutoffFactory
Returns a NonbondedCutoff that does not cut off anything.- Returns:
- No-cutoff cutoff.
-