Greet 2014
Documentation for the GREET 2014 API
|
This class contains Energy and Emission objects. Was created for convinience since those two come togeather in many places. More...
Public Member Functions | |
Enem (ResourceAmounts _en, EmissionAmounts _em) | |
Enem (Enem _enem) | |
Enem (string bottom_normalize_unit) | |
void | Addition (Enem e2) |
adds values of a second enem to the current one, replaces += and enhance performance because less new objects are created More... | |
void | Clear () |
void | MulAdd (double p, Enem values) |
Adds the values to the current object after mutiplying them by the double p Saves time comparing to results = results + (values * p) as this single operation do not create any new objects for the results More... | |
Static Public Member Functions | |
static Enem | operator* (Enem e1, Parameter e2) |
static Enem | operator* (Enem e1, LightValue e2) |
static Enem | operator* (Parameter e2, Enem e1) |
static Enem | operator* (LightValue e2, Enem e1) |
static Enem | operator* (Enem e1, double e2) |
static Enem | operator* (double e2, Enem e1) |
static Enem | operator+ (Enem e1, Enem e2) |
static Enem | operator- (Enem e1, Enem e2) |
static Enem | operator/ (Enem e1, Parameter e2) |
static Enem | operator/ (Enem e1, LightValue e2) |
static Enem | operator/ (Enem e1, double e2) |
Public Attributes | |
EmissionAmounts | emissions |
ResourceAmounts | materialsAmounts |
Properties | |
string | BottomUnitName [get, set] |
This class contains Energy and Emission objects. Was created for convinience since those two come togeather in many places.
void Greet.DataStructureV3.ResultsStorage.Enem.Addition | ( | Enem | e2 | ) |
adds values of a second enem to the current one, replaces += and enhance performance because less new objects are created
e2 |
void Greet.DataStructureV3.ResultsStorage.Enem.MulAdd | ( | double | p, |
Enem | values | ||
) |
Adds the values to the current object after mutiplying them by the double p Saves time comparing to results = results + (values * p) as this single operation do not create any new objects for the results
p | |
values |