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".

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com