tmm_default_propagation_spec_get()
注意: 需要地形建模模块(Terrain Modeling Module)功能。
摘要
返回默认传播规格(propagation specification)的名称。
语法
tmm_default_propagation_spec_get ()
| 参数 | 类型 | 说明 |
|---|---|---|
| 无参数 |
返回类型
const char *
默认传播规格的名称,或 "NONE"。
头文件
tmm.h
示例
摘自 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);
}
详情
无。
用途
本函数用于获取当前默认传播规格的名称。
错误
- 无。
参考
- 无。