pihmRasterLIBS/setdir.cpp File Reference

#include "lsm.h"

Include dependency graph for setdir.cpp:

Go to the source code of this file.

Functions

void incfall (int n, float *elev1, short *s1, int **spos, int iter, int *sloc)
void incrise (int n, float *elev1, short *s2, int **spos, int iter, int *sloc)
void set2 (int i, int j, float *fact, float *elev1, float *elev2, int iter, int **spos, short *s)
void flatrout (int n, int *sloc, short *s, int **spos, int iter, float *elev1, float *elev2, float *fact, int ns)
void sloped8 (void)
int setdir (char *demfile, char *angfile, char *slopefile, char *pfile)
int setdird8 (char *demfile, char *pfile, char *slopefile)
int setdfnoflood (float mval)
void setdf2 (void)
void SET2 (int I, int J, float *DXX, float DD)
void VSLOPE (float E0, float E1, float E2, float D1, float D2, float DD, float *S, float *A)


Function Documentation

void flatrout ( int  n,
int *  sloc,
short *  s,
int **  spos,
int  iter,
float *  elev1,
float *  elev2,
float *  fact,
int  ns 
)

Definition at line 278 of file setdir.cpp.

References dir, dn, incfall(), incrise(), is, js, NULL, and set2().

Referenced by setdfnoflood().

Here is the call graph for this function:

void incfall ( int  n,
float *  elev1,
short *  s1,
int **  spos,
int  iter,
int *  sloc 
)

Definition at line 397 of file setdir.cpp.

References d1, d2, dir, elev, is, and js.

Referenced by flatrout().

void incrise ( int  n,
float *  elev1,
short *  s2,
int **  spos,
int  iter,
int *  sloc 
)

Definition at line 489 of file setdir.cpp.

References d1, d2, dn, elev, is, and js.

Referenced by flatrout().

void SET2 ( int  I,
int  J,
float *  DXX,
float  DD 
)

Definition at line 679 of file setdir.cpp.

References ang, elev, PI2, slope, and VSLOPE().

Referenced by setdf2().

Here is the call graph for this function:

void set2 ( int  i,
int  j,
float *  fact,
float *  elev1,
float *  elev2,
int  iter,
int **  spos,
short *  s 
)

Definition at line 540 of file setdir.cpp.

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

Referenced by flatrout().

void setdf2 ( void   ) 

Definition at line 600 of file setdir.cpp.

References ang, dir, dx, dy, nx, ny, PI2, SET2(), SetWorkingStatus(), and slope.

Referenced by setdir().

Here is the call graph for this function:

int setdfnoflood ( float  mval  ) 

Definition at line 172 of file setdir.cpp.

References d1, d2, dir, dn, dx, dy, elev, flatrout(), i1, i2, is, js, matalloc(), n1, n2, NULL, nx, ny, and RPINTDTYPE.

Referenced by setdir(), and setdird8().

Here is the call graph for this function:

int setdir ( char *  demfile,
char *  angfile,
char *  slopefile,
char *  pfile 
)

Definition at line 75 of file setdir.cpp.

References ang, bndbox, csize, d1, d2, dir, dx, dy, elev, filetype, gridread(), gridwrite(), i1, i2, matalloc(), mval, n1, n2, nx, ny, RPFLTDTYPE, RPSHRDTYPE, setdf2(), setdfnoflood(), and slope.

Here is the call graph for this function:

int setdird8 ( char *  demfile,
char *  pfile,
char *  slopefile 
)

Definition at line 126 of file setdir.cpp.

References bndbox, csize, d1, d2, dir, dx, dy, elev, filetype, gridread(), gridwrite(), i1, i2, matalloc(), mval, n1, n2, nx, ny, RPFLTDTYPE, RPSHRDTYPE, setdfnoflood(), slope, and sloped8().

Referenced by FlowGridDlg::run().

Here is the call graph for this function:

void sloped8 ( void   ) 

Definition at line 763 of file setdir.cpp.

References d1, d2, dir, dx, dy, elev, i1, i2, n1, n2, and slope.

Referenced by setdird8().

void VSLOPE ( float  E0,
float  E1,
float  E2,
float  D1,
float  D2,
float  DD,
float *  S,
float *  A 
)

Definition at line 732 of file setdir.cpp.

Referenced by SET2().


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