📄 coeff_obj.c
字号:
********************************************************************************* FUNCTION NAME: coeff_SetStopSlopeResist** PURPOSE: set slope_resistance field of stop_coeff** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/void coeff_SetStopSlopeResist (int val){ stop_coeff.slope_resistance = val;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_SetStopRoadGravity** PURPOSE: set road_gravity field of stop_coeff** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/void coeff_SetStopRoadGravity (int val){ stop_coeff.road_gravity = val;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_SetBestFitDiffusion** PURPOSE: set diffusion field of best_fit_coeff** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/void coeff_SetBestFitDiffusion (int val){ best_fit_coeff.diffusion = val;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_SetBestFitSpread** PURPOSE: set spread field of best_fit_coeff** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/void coeff_SetBestFitSpread (int val){ best_fit_coeff.spread = val;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_SetBestFitBreed** PURPOSE: set breed field of best_fit_coeff** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/void coeff_SetBestFitBreed (int val){ best_fit_coeff.breed = val;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_SetBestFitSlopeResist** PURPOSE: set slope_resistance field of best_fit_coeff** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/void coeff_SetBestFitSlopeResist (int val){ best_fit_coeff.slope_resistance = val;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_SetBestFitRoadGravity** PURPOSE: set road_gravity field of best_fit_coeff** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/void coeff_SetBestFitRoadGravity (int val){ best_fit_coeff.road_gravity = val;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_SetSavedDiffusion** PURPOSE: set diffusion field of saved_coefficient** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/void coeff_SetSavedDiffusion (double val){ saved_coefficient.diffusion = val;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_SetSavedSpread** PURPOSE: set spread field of saved_coefficient** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/void coeff_SetSavedSpread (double val){ saved_coefficient.spread = val;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_SetSavedBreed** PURPOSE: set breed field of saved_coefficient** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/void coeff_SetSavedBreed (double val){ saved_coefficient.breed = val;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_SetSavedSlopeResist** PURPOSE: set slope_resistance field of saved_coefficient** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/void coeff_SetSavedSlopeResist (double val){ saved_coefficient.slope_resistance = val;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_SetSavedRoadGravity** PURPOSE: set road_gravity field of saved_coefficient** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/void coeff_SetSavedRoadGravity (double val){ saved_coefficient.road_gravity = val;}/*****************************************************************************\********************************************************************************* **** GET FUNCTIONS **** *********************************************************************************\*****************************************************************************//*************************************************************************************************************************************************************** FUNCTION NAME: coeff_GetSavedDiffusion** PURPOSE: return diffusion from saved_coefficient struct** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/double coeff_GetSavedDiffusion (){ return saved_coefficient.diffusion;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_GetSavedSpread** PURPOSE: return spread from saved_coefficient struct** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/double coeff_GetSavedSpread (){ return saved_coefficient.spread;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_GetSavedBreed** PURPOSE: return breed from saved_coefficient struct** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/double coeff_GetSavedBreed (){ return saved_coefficient.breed;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_GetSavedSlopeResist** PURPOSE: return slope_resistance from saved_coefficient struct** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/double coeff_GetSavedSlopeResist (){ return saved_coefficient.slope_resistance;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_GetSavedRoadGravity** PURPOSE: return road_gravity from saved_coefficient struct** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/double coeff_GetSavedRoadGravity (){ return saved_coefficient.road_gravity;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_GetCurrentDiffusion** PURPOSE: return diffusion from current_coefficient struct** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/double coeff_GetCurrentDiffusion (){ return current_coefficient.diffusion;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_GetCurrentSpread** PURPOSE: return spread from current_coefficient struct** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/double coeff_GetCurrentSpread (){ return current_coefficient.spread;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_GetCurrentBreed** PURPOSE: return breed from current_coefficient struct** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/double coeff_GetCurrentBreed (){ return current_coefficient.breed;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_GetCurrentSlopeResist** PURPOSE: return slope_resistance from current_coefficient struct** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/double coeff_GetCurrentSlopeResist (){ return current_coefficient.slope_resistance;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_GetCurrentRoadGravity** PURPOSE: return road_gravity from current_coefficient struct** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/double coeff_GetCurrentRoadGravity (){ return current_coefficient.road_gravity;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_GetStepDiffusion** PURPOSE: return diffusion from step_coeff struct** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500** CREATION DATE: 11/11/1999** DESCRIPTION:*****/int coeff_GetStepDiffusion (){ return step_coeff.diffusion;}/*************************************************************************************************************************************************************** FUNCTION NAME: coeff_GetStepSpread** PURPOSE: return spread from step_coeff struct** AUTHOR: Keith Clarke** PROGRAMMER: Tommy E. Cathey of NESC (919)541-1500
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -