Greet 2014
Documentation for the GREET 2014 API
|
Classes | |
class | BaseQuantity |
class | Context |
class | DerivedQuantity |
class | Dimension |
Builds on DimensionUtils and IQuantity. It allows to store dimension as a single integer or as a quantity. Along with quantity it stores the index of the preferred unit from the Units list of IQUanitty. There are multiple states the class can be. Here Q = quantity is NOT null E = expression is NOT null P = preffered_unit is NOT -1 D = dim is NOT null More... | |
class | DimensionStateException |
Used by Dimension class | |
class | DimensionUtils |
The dimension is represented as a single unsigned integer and each basic SI unit dimension exponent "occupies" 5 bits, i.e. the range for the exponent is -16..15. The system is based on the modular arithmetics so to calculate the result of the multiplication the two integers representing dimension simply need to be added, thus making operations on parameters with units extremely fast. More... | |
class | ExpressionStringParingException |
class | LightValue |
To be used to perform calculations with physical quantities. An instance of LightValue can be in one of 3 states: 1) formula is null, quantity is NOT null, preffered_unit is NOT null, quantaty.Units.Count less then preffered_unit. In this state the LightValue is aware of the quantity associated with it and what is the preferred units to be used for reports or GUI 2) formula is NOT null, quantity is NOT null, preffered_unit is null. In this state LightValue is aware of the quantity associated with it and units to be used in GUI/Reports are defined by formula. The dimensions of the units in formula must be the same as of the Quantity 3) formula is NOT null, quantity is null, preffered_unit is null. In this state LightValue is not aware of the quantity associated with it, it can happen as a result of * or / operations or user-entering units combination that cannot be matched to any of the defined quantities. In this state units defined in formula are to be used as preferred units to be used in GUI/Reports. Also, in this state user cannot choose in what units the value is to be displayed and will be limited to the choice of SI units or those defined in formula More... | |
class | Quantity |
class | Unit |