Skip to content

Commit

Permalink
WarpAround flag included in SIMcfg with default false
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilbach committed Oct 24, 2019
1 parent 211186d commit d8e517d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions json/SIM_RMa_configA.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"SlotType": 0,
"NumUEperSlot": 4,
"fname": "SIM_RMa_configA",
"ActiveBSCells": 3,
"ActiveUECells": 3,
"ActiveBSCells": 19,
"ActiveUECells": 19,
"Extended": false,
"ForceAllLOS": false,
"ShadowLoss": false,
Expand All @@ -24,5 +24,6 @@
"TrueCells": -1,
"SchedulerType": 1,
"IsDownLink": true,
"AntennaVTilt": 15
"AntennaVTilt": 15,
"WrapAround": true
}
2 changes: 2 additions & 0 deletions simconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type SIMconfig struct {
CellRadius float64 `json:"-"`
NCells int `json:"-"`
ISD float64 `json:",omitempty"`
WrapAround bool `json:"WrapAround"`
}

//SetDefaults loads the default values for the simulation
Expand All @@ -47,6 +48,7 @@ func (i *SIMconfig) SetDefaults() {
// i.BScells = []int{0, 1, 2}
i.TrueCells = -1 // Default to all the cells
i.IsDownLink = true
i.WrapAround = false

}

Expand Down

0 comments on commit d8e517d

Please sign in to comment.