FERS 1.0.0
The Flexible Extensible Radar Simulator
Loading...
Searching...
No Matches
config.h File Reference

Global configuration file for the project. More...

#include <complex>
#include <numbers>
+ Include dependency graph for config.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using RealType = double
 Type for real numbers.
 
using ComplexType = std::complex< RealType >
 Type for complex numbers.
 

Variables

constexpr RealType PI = std::numbers::pi_v<RealType>
 Mathematical constant π (pi).
 
constexpr RealType EPSILON = std::numeric_limits<RealType>::epsilon()
 Machine epsilon for real numbers.
 

Detailed Description

Global configuration file for the project.

This file contains type definitions and constants used throughout the project for real and complex number types, as well as mathematical constants like π and machine epsilon.

Definition in file config.h.

Typedef Documentation

◆ ComplexType

using ComplexType = std::complex<RealType>

Type for complex numbers.

This typedef defines the complex number type, which is based on the RealType definition for double-precision floating-point real and imaginary parts.

Definition at line 35 of file config.h.

◆ RealType

using RealType = double

Type for real numbers.

This typedef defines the real number type to be used throughout the project as a double-precision floating-point number.

Definition at line 27 of file config.h.

Variable Documentation

◆ EPSILON

constexpr RealType EPSILON = std::numeric_limits<RealType>::epsilon()
constexpr

Machine epsilon for real numbers.

This constant defines the smallest representable difference (machine epsilon) between two RealType values, ensuring precision control in numerical operations.

Definition at line 51 of file config.h.

Referenced by simulation::calculatePreviewLinks(), math::Path::getVelocity(), and radar::Receiver::setNoiseTemperature().

◆ PI