etomica.units
Class CompoundDimension
java.lang.Object
etomica.units.Dimension
etomica.units.CompoundDimension
- All Implemented Interfaces:
- Serializable
public class CompoundDimension
- extends Dimension
- See Also:
- Serialized Form
|
Method Summary |
Unit |
getUnit(UnitSystem unitSystem)
Returns the unit of this dimension as derived in the given system of units. |
CompoundDimension
public CompoundDimension(Dimension[] dimensions,
double[] exponents)
CompoundDimension
public CompoundDimension(Dimension[] dimensions,
double[] exponents,
String name)
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