-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross platform and proplib2.0 #6
base: master
Are you sure you want to change the base?
Conversation
doxygen-awesome-css is checkout out to v2.3.3 tag
Update doxygen-awesome-css to v2.3.4
Update examples to recommend constexpr instead of macros
Merge recent updates
Moved contents to GitHub wiki
use strings, avoid pointers, fix a typo in Version output
remove unused variable
This reverts commit 6ef1124.
MSVC: always use /Gz G++ equivalents: none required for Gz
# Conflicts: # .zenodo.json # CITATION.cff # CMakeLists.txt # GitHubRepoPublicReleaseApproval.md # README.md # app/CMakeLists.txt # app/include/Driver.h # app/src/CMakeLists.txt # app/tests/CMakeLists.txt # src/CMakeLists.txt # src/ReturnCodes.cpp # tests/CMakeLists.txt # tests/TestUtils.cpp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my comments in line and make corresponding changes.
include/ITS.Propagation.LFMF/LFMF.h
Outdated
#define R2D 180.0/PI ///< Approximate convert ratio from Radians to Degrees | ||
#define ETA 119.9169832*PI ///< Intrinsic impedance of free space (ohms) | ||
|
||
#define POLARIZATION__HORIZONTAL 0 ///< Polarization horizontal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please define an enum LFMF::Polarization
to handle the polarization values
include/ITS.Propagation.LFMF/LFMF.h
Outdated
#define POLARIZATION__HORIZONTAL 0 ///< Polarization horizontal | ||
#define POLARIZATION__VERTICAL 1 ///< Polarization vertical | ||
|
||
#define METHOD__FLAT_EARTH_CURVE 0 ///< Flat earth curve method |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please define an enum LFMF::SolutionMethod
to handle the solution method values
include/ITS.Propagation.LFMF/LFMF.h
Outdated
#define METHOD__RESIDUE_SERIES 1 ///< Residue series method | ||
|
||
#define YES 1 ///< Find the derivative i.e., Ai'() or Bi'() | ||
#define NO 0 ///< Find Ai() or Bi() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove these YES
and NO
macros, and replace their functionality in Airy.cpp
using a simple boolean type for the derivative
flag.
include/ITS.Propagation.LFMF/LFMF.h
Outdated
#define AIRY 1 ///< Find the Airy Function | ||
#define AIRYD 2 ///< Find the Airy function Derivative | ||
#define BAIRY 3 ///< Find the Bairy Function | ||
#define BAIRYD 4 ///< Find the Bairy function Derivative |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create an enum LFMF::AiryFunctionKind
to replace the macros AIRY
, AIRYD
, BAIRY
, BAIRYD
, WTWO
, DWTWO
, WONE
, and DWONE
based on the following table
Existing Macro | New Enum Member | Definition |
---|---|---|
AIRY |
Ai |
Airy function of the first kind, |
AIRYD |
AiPrime |
Derivative of the Airy function of the first kind, |
BAIRY |
Bi |
Airy function of the second kind, |
BAIRYD |
BiPrime |
Derivative of the Airy function of the second kind, |
WTWO |
WiTwo |
One of Hufford's "Airy functions of the third kind," |
DWTWO |
WiTwoPrime |
The derivative of Hufford's function |
WONE |
WiOne |
One of Hufford's "Airy functions of the third kind," |
DWONE |
WiOnePrime |
The derivative of Hufford's function |
include/ITS.Propagation.LFMF/LFMF.h
Outdated
#define WONE 7 ///< find Hufford Wi(1) or Wait W1 | ||
#define DWONE 8 ///< find Hufford Wi'(1) or Wait W1' | ||
// scaling | ||
#define HUFFORD 9 ///< Use Hufford scaling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace macros HUFFORD
, WAIT
, and NONE
with a new enum LFMF::AiryFunctionScaling
. Details about what these mean are currently in the docstring for the Airy function in Airy.cpp
No description provided.