fof_mrt.c File Reference
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include "fof_ansi.h"
#include "fof_iss.h"
#include "fof_mrt.h"
#include "fof_smt.h"
#include "fof_spp.h"
#include "fof_cct.h"
#include "fof_util.h"
Include dependency graph for fof_mrt.c:

Macros

#define eC_smt   300
 
#define ec_line   300
 
#define e_SqFtAcre   43560.0
 

Functions

float WINAPI MRT_Calc (d_MI *a_MI, d_MO *a_MO, char cr_ErrMes[])
 
void MRT_Total (d_MI *a_MI, d_MO *a_MO, float f_Prob)
 
void WINAPI MO_Init (d_MO *a_MO)
 
int WINAPI MRT_LoadSpe (char cr_Pth[], char cr_ErrMes[])
 
void SMT_InitTable ()
 
int SMT_NotImp (int iX)
 
int SMT_Get (int iX, d_SMT *a_SMT)
 
int SMT_ChkReg (d_SMT *a_SMT, int i_Reg)
 
int SMT_ChkRegion (char cr_Spe[], int i_Reg)
 
float SMT_CalcBarkThick (char cr_Spe[], float f_DBH, char cr_ErrMes[])
 
int SMT_MortEqu (char cr_Spe[])
 
int SMT_GetIdx (char cr_Spe[])
 
void SMT_DispTbl ()
 
float SMT_CalcCrnCov (char cr_Spe[], float f_Dia, float f_Hgt)
 
int CCT_Get (int i_No, d_CCT *a_CCT)
 
void CCT_Display (d_CCT *a_CTT)
 
void MRT_InitST ()
 
float MRT_Overlap (float f_SqFtCov)
 

Variables

d_SMT sr_SMT [eC_smt]
 
float gf_TotMort = 0
 
float gfN_TotMort = 0
 
float gf_4TotMort = 0
 
float gfN_4TotMort = 0
 
float gf_TotKilDBH = 0
 
float gf_CovTotPreLiv = 0
 
float gf_CovTotPosLiv = 0
 

Macro Definition Documentation

#define e_SqFtAcre   43560.0
#define ec_line   300
#define eC_smt   300

Function Documentation

void CCT_Display ( d_CCT a_CTT)
int CCT_Get ( int  i_No,
d_CCT a_CCT 
)

Here is the caller graph for this function:

void WINAPI MO_Init ( d_MO a_MO)
float WINAPI MRT_Calc ( d_MI a_MI,
d_MO a_MO,
char  cr_ErrMes[] 
)

Here is the call graph for this function:

void MRT_InitST ( void  )

Here is the caller graph for this function:

int WINAPI MRT_LoadSpe ( char  cr_Pth[],
char  cr_ErrMes[] 
)

Here is the call graph for this function:

float MRT_Overlap ( float  f_SqFtCov)

Here is the caller graph for this function:

void MRT_Total ( d_MI a_MI,
d_MO a_MO,
float  f_Prob 
)

Here is the call graph for this function:

Here is the caller graph for this function:

float SMT_CalcBarkThick ( char  cr_Spe[],
float  f_DBH,
char  cr_ErrMes[] 
)

Here is the call graph for this function:

Here is the caller graph for this function:

float SMT_CalcCrnCov ( char  cr_Spe[],
float  f_Dia,
float  f_Hgt 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int SMT_ChkReg ( d_SMT a_SMT,
int  i_Reg 
)
int SMT_ChkRegion ( char  cr_Spe[],
int  i_Reg 
)

Here is the call graph for this function:

void SMT_DispTbl ( void  )
int SMT_Get ( int  iX,
d_SMT a_SMT 
)
int SMT_GetIdx ( char  cr_Spe[])

Here is the call graph for this function:

Here is the caller graph for this function:

void SMT_InitTable ( void  )

Here is the caller graph for this function:

int SMT_MortEqu ( char  cr_Spe[])

Here is the call graph for this function:

Here is the caller graph for this function:

int SMT_NotImp ( int  iX)

Variable Documentation

float gf_4TotMort = 0
float gf_CovTotPosLiv = 0
float gf_CovTotPreLiv = 0
float gf_TotKilDBH = 0
float gf_TotMort = 0
float gfN_4TotMort = 0
float gfN_TotMort = 0
d_SMT sr_SMT[eC_smt]