public class HSMD3D extends Simulation
Developed as a prototype and example for the construction of a basic simulation.
Modifier and Type | Class | Description |
---|---|---|
static class |
HSMD3D.HSMD3DParam |
Inner class for parameters understood by the HSMD3D constructor
|
Modifier and Type | Field | Description |
---|---|---|
Box |
box |
The Box holding the atoms.
|
IntegratorHard |
integrator |
The Integrator performing the dynamics.
|
P2HardSphere |
potential |
The hard-sphere potential governing the interactions.
|
PotentialMaster |
potentialMaster |
|
SpeciesGeneral |
species |
The single hard-sphere species.
|
eventManager, random, seeds, space
Constructor | Description |
---|---|
HSMD3D() |
Makes a simulation using a 3D space and the default parameters.
|
HSMD3D(HSMD3D.HSMD3DParam params) |
Makes a simulation according to the specified parameters.
|
Modifier and Type | Method | Description |
---|---|---|
IntegratorHard |
getIntegrator() |
|
static HSMD3D.HSMD3DParam |
getParameters() |
|
static void |
main(java.lang.String[] args) |
Demonstrates how this class is implemented.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBox, addSpecies, box, getBox, getBoxCount, getBoxes, getController, getEventManager, getRandom, getRandomSeeds, getSpace, getSpecies, getSpeciesCount, getSpeciesList, makeBox, makeBox, makeUniqueElementSymbol, removeBox, setRandom, species
public final Box box
public final IntegratorHard integrator
public final SpeciesGeneral species
public final P2HardSphere potential
public final PotentialMaster potentialMaster
public HSMD3D()
public HSMD3D(HSMD3D.HSMD3DParam params)
params
- Parameters as defined by the inner class HSMD3DParampublic IntegratorHard getIntegrator()
getIntegrator
in class Simulation
public static void main(java.lang.String[] args)
public static HSMD3D.HSMD3DParam getParameters()