Provides models for physical quantities.
The difference between models lies in the assumptions each makes and, in consequence,the operations each permits. For example, the summation of a {@link org.jscience.physics.quantities.Length} and a {@link org.jscience.physics.quantities.Duration} is not allowed by the standard model, but is quite valid in a relativistic context.
Also, the current model specifies the default output units for physical quantities (Ref. {@link org.jscience.physics.quantities.Quantity#getOutputUnit}).
The current model is {@link javolution.realtime.LocalContext context-local}, different models can be used concurrently within the same application.
The names and characteristics of the models are presented in the following table:
Model | Class | Defining Characteristics | Default Output Units |
---|---|---|---|
Standard | "StandardModel" | per Système Internationale | Length: m; Mass: kg; Duration: s; ElectricCurrent: A; Temperature: K; AmountOfSubstance: mol; LuminousIntensity: cd |
Relativistic | "RelativisticModel" | 1 = c | Length, Duration: s; Mass: eV; ElectricCurrent: A; Temperature: K; AmountOfSubstance: mol; LuminousIntensity: cd |
High-Energy | "HighEnergyModel" | 1 = c = k = ePlus |
Length, Duration: ns; Mass, Temperature: GeV; ElectricCurrent: 1/ns; AmountOfSubstance: mol; LuminousIntensity: cd |
Quantum | "QuantumModel" | 1 = c = k = µ0 = hBar |
Length, Duration: 1/GeV; Mass, Temperature, ElectricCurrent: GeV; AmountOfSubstance: mol; LuminousIntensity: cd |
Natural | "NaturalModel" | 1 = c = k = µ0 = hBar = G |
Length, Mass, Duration, ElectricCurrent, Temperature: 1; AmountOfSubstance: mol; LuminousIntensity: cd |