Package org.jscience.physics.model
package org.jscience.physics.model
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 length
and a duration
is not allowed by the standard model, but is quite valid in a relativistic context.
Models are context-local
, allowing
multiple models to be used concurrently. For example:[code]
LocalContext.enter();
try {
RelativisticModel.select(); // Affects the current thread only.
...
} finally {
LocalContext.exit();
}[/code]
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 |
-
ClassDescriptionThis class represents the high-energy model.This class represents the natural model.This abstract class represents a physical model.This class represents the quantum model.This class represents the relativistic model.This class represents the standard model.