|
void | ReadParameterFileData (xercesc::DOMDocument *p_oDoc) |
| Reads in needed parameter file data.
|
|
void | SetUpBrightnessArray () |
| Sets up the light brightness array.
|
|
void | DoSetupCalculations () |
| Performs setup calculations.
|
|
void | SetUpGrid () |
| Sets up the "GLI Map" grid.
|
|
void | AddTreeToGliFishEye (const float &fTargetX, const float &fTargetY, const float &fTargetHeight, clTree *p_oNeighbor, clPlot *p_oPlot, clTreePopulation *p_oPop, clAllometry *p_oAllom) |
| Adds one shading neighbor to the fisheye photo array for a GLI calculation.
|
|
void | GLIFisheyeNoCanopyIntersect (const float &fTargetX, const float &fTargetY, const float &fNeighX, const float &fNeighY, const float &fNeighCanrad, const float &fNeighHeight, const short int &iNeighSpecies, const float &fTargetHeight, const float &fDistToNearEdge, clTree *p_oNeighbor, clPlot *p_oPlot, clAllometry *p_oAllom) |
| Adds one shading neighbor to the fisheye photo array for a GLI calculation when the canopies of the two trees do not overlap.
|
|
void | GLIFisheyeCanopyIntersect (const float &fTargetX, const float &fTargetY, const float &fNeighX, const float &fNeighY, const float &fNeighCanrad, const float &fNeighHeight, const short int &iNeighSpecies, const float &fTargetHeight, clTree *p_oNeighbor, clPlot *p_oPlot, clAllometry *p_oAllom) |
| Adds one shading neighbor to the fisheye photo array for a GLI calculation when the canopies of the two trees overlap.
|
|
void | GetData (xercesc::DOMDocument *p_oDoc) |
| Triggers all light setup.
|
|
virtual void | DoShellSetup (xercesc::DOMDocument *p_oDoc) |
| If a descendent class has specific setup needs, it can overload this function.
|
|
void | PopulateGLIBrightnessArray () |
| Populates the GLI brightness array.
|
|
void | PopulateSailLightBrightnessArray () |
| Populates the sail brightness array.
|
|
float | GetDayAngle (int iJulianDay) |
| Computes day angle.
|
|
float | GetDeclination (float &fDayAngle) |
| Computes solar declination.
|
|
float | GetEccentricity (float &fDayAngle) |
| Computes solar eccentricity.
|
|
float | GetSunrise (float &fLatInRadians, float &fDeclination) |
| Computes sunrise.
|
|
float | GetCosineOfZenithAngle (float &fDeclination, float &fLatInRadians, float &fTimeNow) |
| Computes cosine of the zenith angle of the sun at a given time.
|
|
float | GetAltitudeAngle (float &fCosZenAng) |
| Computes altitude angle of the sun at a given time in radians.
|
|
float | GetAzimuthAngle (float &fDeclination, float &fLatInRadians, float &fAltInRad, float &fTimeNow) |
| Computes azimuth angle of the sun at a given time in radians in SORTIE azimuth coordinates.
|
|
float | GetAirmassEffect (float &fAltInDeg, float &fCosZenAng) |
| Computes the airmass effect for a given altitude angle.
|
|
float | GetBeamRadiation (float &fClearSkyTransCoeff, float &fAirmass, float &fEccentricity, float &fCosZenAng) |
| Computes beam radiation strength.
|
|
virtual float | GetLightExtinctionCoefficient (clTree *p_oTree) |
| Gets the light extinction coefficent.
|
|
|
clGrid * | mp_oMapGrid |
| Grid object which holds the GLI values.
|
|
float | m_fLightHeight |
| The height above the ground, in m, at which the quadrat light values are calculated.
|
|
float | m_fMaxSearchDistance |
| Maximum search distance for shading neighbors.
|
|
short int | m_iGridGliCode |
| Return code for the "GLI Map" grid to get and set GLI in the cells.
|
|
float | m_fSinMinSunAng |
| Sin of the min sun angle.
|
|
float | m_fAziChunkConverter |
| Reciprocal of the size of a single azimuth sky grid division, in degrees.
|
|
float | m_fRcpTanMinAng |
| 1/tan (m_fMinSunAngle).
|
|
float * | mp_fAziSlope |
| For each azimuth chunk of sky, this holds the slope of the line to the middle of the chunk.
|
|
bool | m_bHooked |
| Whether or not this shell object is hooked to clLightOrg.
|
|
bool | m_bNeedsCommonParameters |
| Whether or not this shell object requires the common light parameters held in clLightOrg such as clLightOrg::m_iLastJulDay.
|
|
float ** | mp_fBrightness |
| Sky brightness array.
|
|
float ** | mp_fPhoto |
| Simulated fisheye photo array.
|
|
float | m_fMinSunAngle |
| The altitude angle below which the sky is assumed to be dark.
|
|
int | m_iNumAziAng |
| Number of azimuth angles into which the sky hemisphere is divided.
|
|
int | m_iNumAltAng |
| Number of altitude angles into which the sky hemisphere is divided.
|
|
int | m_iMinAngRow |
| Row in the brightness array corresponding to the minimum solar angle.
|
|
short int | m_iNumSpeciesTypeCombos |
| How many type/species combos a behavior will act on.
|
|
short int | m_iNumBehaviorSpecies |
| How many distinct species are in the combo list - important for filling species-specific values from parameter file.
|
|
short int * | mp_iWhatSpecies |
| List of distinct species - for filling species-specific values from parameter file.
|
|
stcSpeciesTypeCombo * | mp_whatSpeciesTypeCombos |
| Array of species/type combos that the behavior will act on.
|
|
short int | m_iNewTreeInts |
| The number of new tree integer data members this behavior wants to add.
|
|
short int | m_iNewTreeFloats |
| The number of new tree float data members this behavior wants to add.
|
|
short int | m_iNewTreeChars |
| The number of new tree character data members this behavior wants to add.
|
|
short int | m_iNewTreeBools |
| The number of new tree boolean data members this behavior wants to add.
|
|
short int | m_iBehaviorListNumber |
| The number of this behavior in the behavior list, to differentiate between possible multiple copies of this behavior.
|
|
float | m_fVersionNumber |
| Version number - this will be rounded to 2 digits after the decimal place.
|
|
std::string | m_sXMLRoot |
| XML root that encloses the parameters for this behavior.
|
|
float | m_fMinimumVersionNumber |
| Minimum version number - this behavior will run parameter data for a file marked between this number and the current version number, inclusive.
|
|
std::string | m_sNameString |
| If a behavior has registered a command line command with the sim manager, this allows it to be called.
|
|
clSimManager * | mp_oSimManager |
| Pointer to the simulation manager object.
|
|
int * | mp_iAllowedFileTypes |
| List of the input file types this object can handle.
|
|
int | m_iNumAllowedTypes |
| Number of input file types this object can handle.
|
|
GLIMapCreator - Version 1.0.
This behavior creates a map of GLI values in a grid. The user sets the height of the point at which to calculate GLI, and then this behavior calculates the GLI at that height in the center of each cell. (This behavior is almost identical to clQuadratGliLight, except it doesn't apply light to trees and calculates a GLI for every grid cell no matter what.) This behavior does not need to be applied to any trees.
Nothing else is done with the GLI values. This is an analysis behavior that prepares some calculations; the user can output the GLI map grid and then use the values however they see fit.
The namestring and parameter file call string for this behavior is "GLIMapCreator". This class is descended from clGLIBase so it can use its light calculation methods, but since the string "lightshell" is ommitted from this class's namestring, it should not be treated as a light behavior.
The sky brightness array used by this behavior is potentially identical to that for other GLI light behaviors. Before committing to the calculation of a brightness array, this behavior will ask those behaviors if their settings are identical. If they are, and that class has already calculated the brightness array, this behavior can just copy.
Copyright 2011 Charles D. Canham.
- Author
- Lora E. Murphy
Edit history:
--------------—
October 20, 2011 - Wiped the slate clean for SORTIE 7.0 (LEM)