Commit Graph

45 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
Tommaso Pecorella
fade296958 antenna: (fixes #889) Improve WrapTo* functions 2023-09-17 02:24:29 +02: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
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
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Tommaso Pecorella
df97e13ffa antenna: doxygen fixes 2022-01-30 12:06:53 -06: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 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
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 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
Nicola Baldo
64b9588860 antenna: allow non-unitary gain for IsotropicAntennaModel 2018-08-13 18:55:01 -07:00
Alexander Krotov
dd3a4d2a43 Use Vector{2,3}D.GetLength () 2017-04-05 10:56:05 +03:00
Mohit Goyal
4772204a59 SetGroupName for antenna module 2015-03-27 09:14:34 -07:00
Peter D. Barnes, Jr.
bfdb6ef10a [Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace? 2014-09-26 15:51:00 -07:00
Peter D. Barnes, Jr.
cd3da7143d [doxygen] Revert r10410, r10411, r10412 2014-03-05 17:06:59 -08:00
Peter D. Barnes, Jr.
d75ff3559e doxygen] Suppress "warning: Member NS_OBJECT_ENSURE_REGISTERED is not documented" 2013-11-14 16:58:28 -08:00
Vedran Miletić
71e380b55e Bug 1237 - code cleanups related to includes 2012-09-01 20:57:21 +02:00
Peter D. Barnes, Jr.
e6d94781ec Fix easy doxygen warnings 2012-06-20 06:50:50 -07:00
Nicola Baldo
989a98523d check-style src/antenna 2012-04-11 11:46:20 +02:00
Nicola Baldo
83ddd85713 addressed code review by Tom http://codereview.appspot.com/5726045/#msg1 2012-04-10 19:00:28 +02:00
Nicola Baldo
d03396cbb5 added operator>> for Angles 2012-04-10 18:32:50 +02:00
Nicola Baldo
951a9c1513 added parabolic antenna model 2012-03-19 17:40:53 +01:00
Nicola Baldo
641d20df12 fixed doxygen of CosineAntennaModel 2012-03-19 17:40:12 +01:00
Nicola Baldo
843cad8f33 avoid discontinuity for backwards radiation in CosineAntennaModel 2012-02-10 18:27:39 +01:00
Nicola Baldo
83ae03cb9a integrated AntennaModel with spectrum 2012-01-05 18:51:23 +01:00
Nicola Baldo
5e5bcfa38d moved Angles to separate files 2012-01-05 13:42:12 +01:00
Nicola Baldo
5d27b6f366 construct Angles from Vector(s) 2012-01-05 13:31:32 +01:00
Nicola Baldo
09eda33a7d added cosine antenna model 2011-12-21 19:36:45 +01:00
Nicola Baldo
3e3c496434 added isotropic antenna model with test suite 2011-12-16 18:50:05 +01:00
Nicola Baldo
d6d526a998 revised antenna API 2011-12-16 18:49:47 +01:00
Nicola Baldo
f4c5e04582 draft antenna API 2011-12-09 19:02:13 +01:00