tmm_default_propagation_spec_get()
Note: Requires Terrain Modeling Module functionality
Abstract
Returns the name of the default propagation specification.
Syntax
tmm_default_propagation_spec_get ()
| Argument | Type | Description |
|---|---|---|
| no arguments |
Return Value
const char *
The name of the default propagation specification, or "NONE".
Header
tmm.h
Example
Extract from dra_closure.ps.c:
/* Attempt to load the default TMM propagation spec. */
DraS_Closure_Tmm_Prop_Spec_Name = tmm_default_propagation_spec_get ();
if (strcmp ("NONE", DraS_Closure_Tmm_Prop_Spec_Name) == 0 || !strlen (DraS_Closure_Tmm_Prop_Spec_Name))
{
/* Propagation spec called NONE is special and indicates */
/* that no default propagation spec is set. Use free space.*/
load_successful = OPC_FALSE;
/* Simulation is not using TMM for path loss calculations */
/* or closure. Set the non-TMM closure method that will be */
/* used. */
dra_non_tmm_closure_method_set (OP_SIM_CONTEXT_PTR_OPT);
}
Details
None.
Purpose
This function is used to get the name of the current default propagation specification.
Errors
- None.
Reference
- None.