Commit Graph

105 Commits

Author SHA1 Message Date
Eduardo Almeida
aedd34ca8f Fix local #include headers by removing the "ns3/" prefix 2023-09-17 17:19:59 +01:00
Ben Lee
74353c1d68 antenna: add test cases for WrapTo* functions 2023-09-17 02:24:29 +02:00
Tommaso Pecorella
fade296958 antenna: (fixes #889) Improve WrapTo* functions 2023-09-17 02:24:29 +02:00
Tom Henderson
79e3e8453b doc: Fix various documentation formatting warnings 2023-07-09 00:49:13 +00:00
pagmatt
0132e159df antenna: Remove deprecated ComputeNorm declaration 2023-03-31 23:46:10 +00:00
Eduardo Almeida
ce82692a21 antenna, core: Fix coding style, formatting and typos 2023-03-07 17:56:19 +00:00
Biljana Bojovic
7495938a2d spectrum, antenna: Change definitions of 1D, 2D, 3D complex vectors
spectrum, antenna: Remove unnecessary Eigen includes

fix clang-tidy issues in three-gpp-spectrum-propagation-loss-model
2023-03-03 21:15:50 +01:00
Gabriel Ferreira
6f076416e7 Fix typos 2023-02-21 22:29:29 -03:00
Eduardo Almeida
d3426db18d Fix typos 2023-02-09 15:36:32 +00:00
Matteo Pagin
1c0fecc69c antenna, spectrum: GSoC-22 Add support for Eigen library 2023-02-08 14:25:30 +00:00
Eduardo Almeida
9a0d17186b Fix clang-tidy readability-static-accessed-through-instance warnings 2023-01-29 18:11:10 +00:00
Eduardo Almeida
dfc6fb9d2d Remove emacs comment from C++ files 2022-10-14 14:13:12 +00:00
Eduardo Almeida
e25ff966fe Apply clang-format to codebase 2022-10-07 20:08:35 +00:00
Eduardo Almeida
c1e7757315 Fix clang-tidy readability-isolate-declaration warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
be07b6487a Fix clang-tidy modernize-use-override warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
6bb6383562 Fix clang-tidy modernize-redundant-void-arg warnings 2022-10-07 11:48:10 +00:00
Gabriel Ferreira
c5d0c8efb4 bindings: remove pybindgen bindings sources 2022-08-01 21:24:02 +00:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Tom Henderson
a614114865 bindings: Rescan all APIs 2022-04-18 15:30:35 -07:00
Tom Henderson
9ac351202b doc: Replace occurrences of sphinx.ext.pngmath 2022-04-17 15:25:43 -07:00
Gabriel Ferreira
e32c177e45 build: remove waf files, tests and references 2022-02-21 22:08:45 -03:00
Tommaso Pecorella
df97e13ffa antenna: doxygen fixes 2022-01-30 12:06:53 -06:00
Gabriel Ferreira
41aacec626 build: CMake refactoring
Includes:
- refactor build_lib and build_lib_example macros
    - unify src and contrib macros
    - replace macro with function not to leak definitions
    - parse list of arguments
- different cmake-format file for modules to list one item per line
2022-01-28 10:20:18 -03:00
Biljana Bojovic
167aaada6e antenna, buildings, lr-wpan, lte, netanim, propagation, spectrum, wifi, wimax: Update Python bindings 2022-01-22 11:43:31 +01:00
bbojovic
a4b43d0132 spectrum: Move doppler term D and alpha and improve (Thanks to Sandra Lagen)
Co-authored-by: Sandra Lagen <sandra.lagen@cttc.es>

This commit also fixes an issue that was discovered during this implementation,
and that is that the stream was never assigned for the uniform random variable used for
the term D and alpha generation.

-Store term D and alpha into the channel params structure.
-Make sure to use correct angles and zenit of departure and arrival:
Save the direction of the generation of the channel params and channel matrix,
in order to know when regenerating channel matrix if the saved angles aoa, aod,
zoa and zod are of of s-to-u or u-to-s, so to properly use them.
- Simplify the type of the key of channel matrix map
- Remove unecessary if statements and abort replace by assert
- Add a more detailed description of the ThreeGppSpectrumPropagationLossModel changes
2022-01-22 11:43:28 +01:00
bbojovic
f53c28229d spectrum, propagation: Fix the way channel condition is saved and checked if equal
It seems that is not the best way to save in the structure the pointer
to the channel condition model because the underlying condition,
and later when we compare the new condition with the old one, we
are basically comparing the underlying object with itself, because
we saved the pointer to it in the structure.

Instead we should save the concrete values of LOS and O2I condition
in the 3gpp structure, and then once the ChannelCondition state changes,
we can compare these saved values against the new once.
This could not be done when the pointer was being changed because pointer
was pointing to the same object.

This fixes basically the condition in 3gpp whether th channel needs to be
updated when condition changes.
2022-01-22 11:42:20 +01:00
Gabriel Ferreira
a893eba7e3 build: Fix CMake and ns3 script bugs, add a test suite and fix formatting 2021-12-05 21:53:49 +00:00
Gabriel Ferreira
9c876c7f5a CMake buildsystem 2021-12-01 12:29:55 -08:00
Tom Henderson
4e9afa965d bindings: Rescan all APIs 2021-09-27 11:18:37 -07:00
Gabriel Arrobo
02c20072bc antenna: Avoid multiple cosine and sine computations for the same angle(s) 2021-09-05 15:56:41 +00:00
Sandra Lagen
a4598e8236 antenna: Extend UniformPlanarArray to have a configurable polarization slant angle
see MR !674
2021-07-30 18:20:03 +02:00
Mattia Lecci
2ba71b3d1b antenna: Fix documentation typos 2021-04-13 20:58:10 -07:00
Tommaso Pecorella
b62f86e0a2 antenna: update docs 2021-04-13 23:28:18 +00:00
Tom Henderson
cdd959504a antenna: Update Python bindings 2021-04-10 18:59:00 -07:00
Mattia Lecci
2cfcebe0d0 antenna: (merges !481) Update antenna module
- Introduce PhasedArrayModel
- Use the new PhasedArrayModel framework across modules (e.g., 3gpp channel model)
- Improve Angles class. Furthermore, Angles has been translated from elevation to inclination and from degrees to radians
- Update antenna module doc
- Fix random angle generation for the 3gpp channel model. Specifically, cluster and sub-cluster angles might be generated with inclination angles outside the inclination range [0, pi], and have now been fixed.
2021-04-10 18:59:00 -07:00
Tommaso Pecorella
707a929eb2 antenna: fix html doc warnings 2021-04-10 00:07:34 +00:00
Tom Henderson
6002d927bc bindings: Rescan all APIs 2020-12-21 21:18:58 -08:00
Tommaso Zugno
0891fa9118 propagation: (merges !435) Channel condition model for vehicular scenarios
This work was done in collaboration with Zoraze Ali and Sandra Lagen.
2020-11-28 20:17:05 -08:00
Tom Henderson
9bfa3bd724 bindings: Rescan all APIs 2020-10-03 14:21:45 -07:00
Tom Henderson
8c6fb7d420 bindings: Rescan all APIs 2020-09-05 13:04:28 -07:00
Steven Smith
dded72e02e build: (fixes #217) Guard compilation of example used as a test
* Added documentation to ExampleAsTestSuite on the need for this guarding
* Updated with Peter's patch for examples-as-test placeholders in wscripts
2020-06-08 09:35:50 -07:00
Tom Henderson
5eea3c0270 bindings: Rescan all APIs 2020-06-07 11:38:26 -07:00
Tom Henderson
e99ae43138 bindings: rescan all APIs 2020-05-11 22:07:00 -07:00
Tommaso Zugno
18ade3b7d9 antenna: fix doc 2020-04-23 17:15:16 +02:00
Tommaso Zugno
1ecd22c97f antenna: use a better normalization 2020-04-21 18:44:24 +02:00
Tommaso Zugno
c847199de6 antenna: update comments 2020-04-21 18:07:14 +02:00
Tommaso Zugno
b64cf50d0b antenna: update doc and doxy 2020-04-21 17:58:36 +02:00
Tommaso Zugno
b4f5695e05 Integration of the 3GPP TR 38.901 fast fading model (GSoC 2019) (2/2)
Close !90
2020-03-30 18:23:07 +02:00
Tom Henderson
54593cee1b rescan all APIs 2020-02-11 18:14:45 -08:00
Tom Henderson
80839b33e4 bindings: Rescan all APIs 2019-08-12 17:00:41 -07:00