pihmRasterLIBS/flood.cpp File Reference

#include "lsm.h"
#include "gridio.h"

Include dependency graph for flood.cpp:

Go to the source code of this file.

Functions

int addstack (int i, int j)
int flood (char *demfile, char *pointfile, char *newfile)
int setdf (float mval)
int vdn (int n)
void set (int i, int j, float *fact, float mval)
int pool (int i, int j)
float min2 (float e1, float e2)
float max2 (float e1, float e2)


Function Documentation

int addstack ( int  i,
int  j 
)

Definition at line 429 of file flood.cpp.

References dn, is, istack, js, nis, NULL, nx, and ny.

Referenced by setdf().

int flood ( char *  demfile,
char *  pointfile,
char *  newfile 
)

Definition at line 16 of file flood.cpp.

References apool, bndbox, csize, d1, d2, dir, dn, dx, dy, elev, filetype, gridread(), gridwrite(), i1, i2, ipool, is, istack, jpool, js, matalloc(), mval, n1, n2, NULL, nx, ny, pstack, RPFLTDTYPE, RPSHRDTYPE, and setdf().

Referenced by fillpitsDlg::run().

Here is the call graph for this function:

float max2 ( float  e1,
float  e2 
)

Definition at line 421 of file flood.cpp.

Referenced by addSOrder(), and setdf().

float min2 ( float  e1,
float  e2 
)

Definition at line 413 of file flood.cpp.

int pool ( int  i,
int  j 
)

Definition at line 338 of file flood.cpp.

References apool, d1, d2, dir, elev, ipool, jpool, npool, NULL, nx, ny, pool(), pooln, and pstack.

Referenced by pool(), poolalloc(), pooldeinit(), poolrestart(), poolzero(), setdf(), traversalinit(), and traverse().

Here is the call graph for this function:

void set ( int  i,
int  j,
float *  fact,
float  mval 
)

Definition at line 319 of file flood.cpp.

References d1, d2, dir, elev, mval, and slope.

int setdf ( float  mval  ) 

Definition at line 91 of file flood.cpp.

References addstack(), apool, d1, d2, dir, dx, dy, elev, emin, et, i1, i2, ipool, is, jpool, js, max2(), n1, n2, nf, nis, npool, pool(), pooln, SetWorkingStatus(), and vdn().

Referenced by flood().

Here is the call graph for this function:

int vdn ( int  n  ) 

Definition at line 278 of file flood.cpp.

References d1, d2, dir, dn, elev, is, js, nis, and SetWorkingStatus().

Referenced by setdf().

Here is the call graph for this function:


Generated on Sun Aug 5 17:34:53 2007 for PIHMgis by  doxygen 1.5.2