All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
openstudio::GPDExpnt Struct Reference

#include <GPDUnit.hpp>

Public Member Functions

 GPDExpnt (int inH2O=0, int gal=0, int day=0, int R=0, int A=0, int cd=0, int lbmol=0, int deg=0, int sr=0, int people=0, int cycle=0, int dollar=0)

Detailed Description

Structure to hold GPDUnit exponents needed for GPDUnit construction.

For purposes of conversion we need a length base unit. Therefore, gal cannot be a base unit. For convenience of construction, GPDExpnt takes a gal argument, but subsequently this is stored as a power of cube root of gallons (crgal).

Constructor & Destructor Documentation

openstudio::GPDExpnt::GPDExpnt ( int  inH2O = 0,
int  gal = 0,
int  day = 0,
int  R = 0,
int  A = 0,
int  cd = 0,
int  lbmol = 0,
int  deg = 0,
int  sr = 0,
int  people = 0,
int  cycle = 0,
int  dollar = 0