TDMS
Time Domain Maxwell Solver
All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
globals.h File Reference

Type definitions and global constants. More...

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

Go to the source code of this file.

Classes

struct  PlanarInterface
 
struct  complex_vector
 

Typedefs

typedef int * IArray_1d
 
typedef IArray_1d * IArray_2d
 
typedef IArray_2d * IArray_3d
 
typedef double * DArray_1d
 
typedef DArray_1d * DArray_2d
 
typedef DArray_2d * DArray_3d
 
typedef std::complex< double > * CArray_1d
 
typedef CArray_1d * CArray_2d
 
typedef CArray_2d * CArray_3d
 
typedef struct PlanarInterface PlanarInterface
 
typedef struct complex_vector complex_vector
 

Enumerations

enum  AxialDirection { X = 'x' , Y = 'y' , Z = 'z' }
 
enum  FieldComponents {
  Ex = 1 , Ey , Ez , Hx ,
  Hy , Hz
}
 
enum  ModeOfRun { Pass1 , Pass2 }
 
enum  RCSType { parallel , perpendicular }
 

Variables

const std::string tdms::VERSION = "v1"
 
const double tdms_math_constants::DCPI = 3.14159265358979323846
 
const std::complex< double > tdms_math_constants::IMAGINARY_UNIT
 
const double tdms_phys_constants::EPSILON0 = 8.85400e-12
 
const double tdms_phys_constants::MU0
 
const double tdms_phys_constants::LIGHT_V = 1.0 / sqrt(EPSILON0 * MU0)
 
const double tdms_phys_constants::Z0 = 376.734
 

Detailed Description

Type definitions and global constants.

Enumeration Type Documentation

◆ FieldComponents

Enum defining a mapping to integers used in the MATLAB initialisation

Variable Documentation

◆ IMAGINARY_UNIT

const std::complex<double> tdms_math_constants::IMAGINARY_UNIT
Initial value:
=
std::complex<double>(0.0, 1.0)

◆ MU0

const double tdms_phys_constants::MU0
Initial value:
= 4.0 * tdms_math_constants::DCPI *
1.0e-7