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
Modifier and TypeFieldDescriptionfinal double
A buffer added to the cut-off distanceoff
to define neighbors included when collecting Verlet lists.final double
At the distance "cut", a multiplicative switch begins to be applied.final double
The distance cut squared.final double
All vdW interactions are 0 at the distance "off".final double
The distance off squared. -
Constructor Summary
ConstructorDescriptionNonbondedCutoff
(double off, double cut, double buff) Non-bonded Cutoff constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic NonbondedCutoff
Returns 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 distanceoff
to 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 distanceoff
to define neighbors included when collecting Verlet lists.
-
-
Method Details
-
noCutoffFactory
Returns a NonbondedCutoff that does not cut off anything.- Returns:
- No-cutoff cutoff.
-