etomica.units
Class Quantity
java.lang.Object
etomica.units.Dimension
etomica.units.Quantity
- All Implemented Interfaces:
- Serializable
public final class Quantity
- extends Dimension
The dimension for the quantity of discrete things (e.g. molecules). Examples
include Count and Mole.
- See Also:
- Serialized Form
|
Method Summary |
Unit |
getUnit(UnitSystem unitSystem)
Returns the unit of this dimension as derived in the given system of units. |
DIMENSION
public static final Dimension DIMENSION
- Singleton instance of this class.
SIM_UNIT
public static final Unit SIM_UNIT
- Simulation unit is Count.
getUnit
public Unit getUnit(UnitSystem unitSystem)
- Description copied from class:
Dimension
- Returns the unit of this dimension as derived in the given system of units.
Default constructs a CompoundUnit using the base units of the unit system.
- Overrides:
getUnit in class Dimension