Documentation of 'org.jscience.physics.model.PhysicalModel' Java class
PhysicalModel
org.jscience.physics.model

Class PhysicalModel

  • All Implemented Interfaces:
    Dimension.Model
    Direct Known Subclasses:
    HighEnergyModel, NaturalModel, QuantumModel, RelativisticModel, StandardModel


    public abstract class PhysicalModel
    extends java.lang.Object
    implements Dimension.Model

    This abstract class represents a physical model. Instances of this class determinate the current quantities dimensions.

    To select a model, one needs only to call the model select static method. For example:

         public static void main(String[] args) {
              // Global (LocalContext should be used for thread-local settings).
              RelativisticModel.select();
              ...
         

    Selecting a predefined model automatically sets the dimension of the base units.

    • Method Detail

      • current

        public static final PhysicalModel current()
        Returns the current physical model (default: instance of StandardModel).
        Returns:
        the context-local physical model.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.