BoundaryPistonCylinderpublic class BoundaryRectangularNonperiodic extends BoundaryRectangular
| Modifier and Type | Field | Description |
|---|---|---|
protected double[][] |
origins |
box, eventManager, inflateEvent, shape, spacedimensions, edgeVectors, shift0| Constructor | Description |
|---|---|
BoundaryRectangularNonperiodic(Space space) |
Make a boundary with unit volume.
|
| Modifier and Type | Method | Description |
|---|---|---|
Vector |
centralImage(Vector r) |
Returns a vector with all elements zero.
|
IndexIteratorSizable |
getIndexIterator() |
|
boolean |
getPeriodicity(int d) |
Returns true if the boundary is periodic in the given direction (as
defined by the getEdgeVector method).
|
double[][] |
imageOrigins(int nShells) |
Returns a zero-length vector.
|
void |
nearestImage(Vector dr) |
Does nothing.
|
getBox, getCenter, getEventManager, getPeriodicity, getShape, setBoxgetBoxSize, getEdgeVector, setBoxSize, updateDimensions, volumepublic BoundaryRectangularNonperiodic(Space space)
public Vector centralImage(Vector r)
centralImage in class Boundaryr - vector position of untransformed point; r is not changed by
this methodpublic void nearestImage(Vector dr)
nearestImage in class Boundarydr - the vector to be transformedpublic double[][] imageOrigins(int nShells)
imageOrigins in class BoundaryRectangularnShells - the number of shells of images to be computedpublic IndexIteratorSizable getIndexIterator()
getIndexIterator in class Boundarypublic boolean getPeriodicity(int d)
BoundarygetPeriodicity in class Boundaryd - the dimension of the desired periodicity