|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcore.pbc.PBC
Utilities for handling periodic boundary conditions, such as nearest images and gathering procedures.
Currently supported boundary conditions are:
PBC_RectBox,
PBC_TruncOct| Nested Class Summary | |
(package private) class |
PBC.ByMoleculeGatherer
|
(package private) class |
PBC.CoGGatherer
|
(package private) class |
PBC.G96Gatherer
|
(package private) static interface |
PBC.Gatherer
|
(package private) class |
PBC.InBoxGatherer
gathers all molecules first individually and moves them afterwards into the central box. |
| Field Summary | |
PBC.Gatherer |
gatherMethod
Comment for gatherMethod |
| Constructor Summary | |
PBC(java.lang.String gatherName)
Vacuum is he vanilla periodic boundary condition. |
|
| Method Summary | |
static void |
boxCheck(double[] box)
|
double[][] |
gather(double[][] pos,
int[] boundaryatoms,
double[] box)
|
static PBC |
getPbc(java.lang.String pbc,
java.lang.String gatherMethod)
simple pbc selector. |
double[] |
nearestImage(double[] v1,
double[] v2,
double[] box)
Return the nearest image of v2 with respect to v1. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final PBC.Gatherer gatherMethod
gatherMethod
| Constructor Detail |
public PBC(java.lang.String gatherName)
throws java.lang.IllegalArgumentException
gatherName -
java.lang.IllegalArgumentException| Method Detail |
public static PBC getPbc(java.lang.String pbc,
java.lang.String gatherMethod)
returns the PBC subclass and Gatherer appropriate for its arguments. mostly because jython and mathematica seem to have a bit of an issue with nested classes.
pbc - pbc-specifiergatherMethod - gather method specifier
public double[] nearestImage(double[] v1,
double[] v2,
double[] box)
v1 - v2 - box -
public static void boxCheck(double[] box)
public double[][] gather(double[][] pos,
int[] boundaryatoms,
double[] box)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||