main.cpp File Reference

#include <math.h>
#include "grid.h"

Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *const argv[])

Variables

int Iterations = 9
 The number of Iterations used for producing the landscape.
int Sigma = 25
 Surface variability (roughness).
float Hurst = 0.45
 Surface heterogeneity (patchiness).
bool Addition = TRUE
 Overlay over a wadi valley?
float Grad = 15
 Wadi valley slope in degrees.
bool Parabel = FALSE
 The shape of the wadi.
bool cbLocal
bool cbLand


Function Documentation

int main ( int  argc,
char *const   argv[] 
)

Definition at line 30 of file main.cpp.

References Addition, TGrid::calculateElevation(), cbLand, cbLocal, TGrid::countHigherCellsGIS(), TGrid::createMountain(), TGrid::createWadi(), Grad, Hurst, Iterations, TGrid::outputContributing(), TGrid::outputElevation(), TGrid::outputTestVariable(), Parabel, Sigma, and TGrid::writeFile().

Here is the call graph for this function:


Variable Documentation

bool Addition = TRUE

Overlay over a wadi valley?

The fractal landscape can be draped over a wadi valley.

Definition at line 19 of file main.cpp.

Referenced by main().

bool cbLand

Definition at line 29 of file main.cpp.

Referenced by main().

bool cbLocal

Definition at line 29 of file main.cpp.

Referenced by main().

float Grad = 15

Wadi valley slope in degrees.

This variable makes only sense when Addition == TRUE.

Definition at line 23 of file main.cpp.

Referenced by main().

float Hurst = 0.45

Surface heterogeneity (patchiness).

The Hurst factor increases the heterogeneity (patchiness) of the landscape. A standard value is 0.45.

Definition at line 15 of file main.cpp.

Referenced by main().

int Iterations = 9

The number of Iterations used for producing the landscape.

The surface becomes smoother with more iterations.The edge of the grid must have length 2n+1 with n ≤ Iterations.

Definition at line 7 of file main.cpp.

Referenced by main().

bool Parabel = FALSE

The shape of the wadi.

The cross-section of the wadi valley can have either the form of a parabola or the form of a symmetrical inverted trapezoid.

Definition at line 27 of file main.cpp.

Referenced by main().

int Sigma = 25

Surface variability (roughness).

Sigma increases the surface variability. A standard value is 25.

Definition at line 11 of file main.cpp.

Referenced by main().


Generated on Tue Mar 11 11:02:39 2008 for Wadiscape Generator by  doxygen 1.5.1