ITS.ITU.PSeries.P2108 1.0
Part of the NTIA/ITS Propagation Library
Loading...
Searching...
No Matches
AeronauticalStatisticalModel.cpp File Reference

Implements top-level functions for running the Aeronautical Statistical Model. More...

Functions

ReturnCode CallAeronauticalStatisticalModel (ASMParams &asm_params, std::vector< double > &L_ces__db)
 Top-level control function for Aeronautical Statistical Model operation.
 
DrvrReturnCode ParseASMInputStream (std::istream &stream, ASMParams &asm_params)
 Parse input stream (file or string stream) to ASM parameter struct.
 
DrvrReturnCode ParseASMInputFile (const std::string &in_file, ASMParams &asm_params)
 Parse Aeronautical Statistical Model input parameter file.
 
void WriteASMInputs (std::ofstream &fp, const ASMParams &params)
 Write Aeronautical Statistical Model inputs to the report file.
 

Detailed Description

Implements top-level functions for running the Aeronautical Statistical Model.

Function Documentation

◆ CallAeronauticalStatisticalModel()

ReturnCode CallAeronauticalStatisticalModel ( ASMParams & asm_params,
std::vector< double > & L_ces__db )

Top-level control function for Aeronautical Statistical Model operation.

Parameters
[in]asm_paramsAeronautical Statistical Model input parameter struct
[out]L_ces__dbBasic transmission loss, in dB
Returns
Return code

◆ ParseASMInputFile()

DrvrReturnCode ParseASMInputFile ( const std::string & in_file,
ASMParams & asm_params )

Parse Aeronautical Statistical Model input parameter file.

Parameters
[in]in_filePath to ASM input parameter file
[out]asm_paramsASM input parameter struct
Returns
Return code

◆ ParseASMInputStream()

DrvrReturnCode ParseASMInputStream ( std::istream & stream,
ASMParams & asm_params )

Parse input stream (file or string stream) to ASM parameter struct.

Parameters
[in]streamInput stream containing ASM parameters
[out]asm_paramsASM input parameter struct
Returns
Return code

◆ WriteASMInputs()

void WriteASMInputs ( std::ofstream & fp,
const ASMParams & params )

Write Aeronautical Statistical Model inputs to the report file.

Parameters
[in]fpOutput stream, a text file open for writing
[in]paramsASM input parameter struct
Privacy Policy FOIA Accessibility Information Quality