Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
relativistic_math.h File Reference
#include <Eigen/Dense>
#include "physconst.h"
Include dependency graph for relativistic_math.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define Vec3d   Eigen::Vector3d
#define cross_product(av, bv)
#define dot_product(av, bv)
#define vector_length(v)
#define normalize_vector(v)

Functions

static double gamma (Vec3d v)
static Vec3d lorentzBoost (Vec3d &u, Vec3d &v)
static Vec3d lorentz_transformed_E (Vec3d &E, Vec3d &B, Vec3d &v)
static Vec3d lorentz_transformed_B (Vec3d &E, Vec3d &B, Vec3d &v)

Macro Definition Documentation

◆ cross_product

#define cross_product ( av,
bv )
Value:
(av).cross(bv)

Definition at line 25 of file relativistic_math.h.

◆ dot_product

#define dot_product ( av,
bv )
Value:
(av).dot(bv)

Definition at line 26 of file relativistic_math.h.

◆ normalize_vector

#define normalize_vector ( v)
Value:
(v).normalized()

Definition at line 28 of file relativistic_math.h.

◆ Vec3d

#define Vec3d   Eigen::Vector3d

Definition at line 24 of file relativistic_math.h.

◆ vector_length

#define vector_length ( v)
Value:
(v).norm()

Definition at line 27 of file relativistic_math.h.

Function Documentation

◆ gamma()

double gamma ( Vec3d v)
static

Definition at line 32 of file relativistic_math.h.

Here is the call graph for this function:

◆ lorentz_transformed_B()

Vec3d lorentz_transformed_B ( Vec3d & E,
Vec3d & B,
Vec3d & v )
static

Definition at line 62 of file relativistic_math.h.

◆ lorentz_transformed_E()

Vec3d lorentz_transformed_E ( Vec3d & E,
Vec3d & B,
Vec3d & v )
static

Definition at line 55 of file relativistic_math.h.

◆ lorentzBoost()

Vec3d lorentzBoost ( Vec3d & u,
Vec3d & v )
static

Definition at line 38 of file relativistic_math.h.

Here is the call graph for this function: