public class LJ extends UnitSystem
| Modifier and Type | Class | Description |
|---|---|---|
static class |
LJ.LJUnit |
UnitSystem.Sim| Modifier and Type | Field | Description |
|---|---|---|
protected double |
epsilon |
|
protected double |
mass |
|
protected double |
sigma |
SIM| Constructor | Description |
|---|---|
LJ() |
Constructs LJ unit system with default values of sigma, epsilon and mass each equal to unity.
|
LJ(double sigma,
double epsilon,
double mass,
boolean unicodeSymbols) |
Constructs LJ unit system with given values of sigma, epsilon, mass, given in simulation units.
|
| Modifier and Type | Method | Description |
|---|---|---|
Unit |
angle() |
|
Unit |
area() |
|
Unit |
charge() |
|
Unit |
current() |
|
Unit |
dipole() |
|
Unit |
energy() |
|
Unit |
force() |
|
Unit |
fraction() |
|
double |
getEpsilon() |
|
double |
getMass() |
|
double |
getSigma() |
|
Unit |
length() |
|
Unit |
mass() |
|
Unit |
power() |
|
Unit |
pressure() |
|
Unit |
quantity() |
|
void |
setEpsilon(double e) |
|
void |
setMass(double m) |
|
void |
setSigma(double s) |
|
Unit |
temperature() |
|
Unit |
time() |
|
Unit |
viscosity() |
|
Unit |
volume() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbaseUnits, luminousIntensityprotected double sigma
protected double epsilon
protected double mass
public LJ()
public LJ(double sigma,
double epsilon,
double mass,
boolean unicodeSymbols)
sigma - LJ length parameterepsilon - LJ energy parametermass - characteristic mass, nominally the mass of a LJ atomunicodeSymbols - if true, Unit symbols will be constructed using unicode
expressions for sigma and epsilon and other symbols; otherwise
substitutes are used.public double getSigma()
public void setSigma(double s)
s - new value of the LJ length parameter to be used to define this unit systempublic double getEpsilon()
public void setEpsilon(double e)
e - new value of the LJ energy parameter to be used to define this unit systempublic double getMass()
public void setMass(double m)
m - new value of the LJ mass parameter to be used to define this unit systempublic Unit quantity()
quantity in class UnitSystempublic Unit fraction()
fraction in class UnitSystempublic Unit mass()
mass in class UnitSystempublic Unit length()
length in class UnitSystempublic Unit time()
time in class UnitSystempublic Unit angle()
angle in class UnitSystempublic Unit charge()
charge in class UnitSystempublic Unit current()
current in class UnitSystempublic Unit dipole()
dipole in class UnitSystempublic Unit force()
force in class UnitSystempublic Unit energy()
energy in class UnitSystempublic Unit power()
power in class UnitSystempublic Unit temperature()
temperature in class UnitSystempublic Unit pressure()
pressure in class UnitSystempublic Unit volume()
volume in class UnitSystempublic Unit area()
area in class UnitSystempublic Unit viscosity()
viscosity in class UnitSystem