etomica.units
Class Mass
java.lang.Object
etomica.units.Dimension
etomica.units.Mass
- All Implemented Interfaces:
- Serializable
public final class Mass
- extends Dimension
Dimension for all units of mass. Simulation unit for mass is the Dalton (or atomic
mass unit, 1/N_Avo grams).
- 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
- The simulation unit is the Dalton.
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