XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Typedefs | Enumerations | Functions | Variables
globals.hpp File Reference
#include "space_settings.hpp"
#include "array_deep_copy.hpp"
#include "access_add.hpp"
#include "simd.hpp"
Include dependency graph for globals.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SimdVector2D
 
struct  SimdVector
 

Typedefs

typedef int * FortranPtr
 

Enumerations

enum  SpeciesType { ELECTRON = 0, MAIN_ION = 1 }
 
enum  KinType { DriftKin =0, GyroKin =1 }
 
enum  ParticlePhase {
  PIR = 0, PIZ, PIP, PIRHO,
  PIW1, PIW2, PTL_NPHASE
}
 
enum  ParticleConsts { PIM = 0, PIW0, PIF0, PTL_NCONST }
 

Functions

KOKKOS_INLINE_FUNCTION int divide_and_round_up (int a, int b)
 

Variables

const double UNIT_CHARGE = 1.6022e-19
 Charge of an electron (C) More...
 
const double EV_2_J =UNIT_CHARGE
 Conversion rate ev to J. More...
 
const double J_2_EV =1.0/EV_2_J
 Conversion rate J to ev. More...
 
const double PROTON_MASS = 1.6720e-27
 
const double PI = 3.1415926535897932
 
const double TWOPI = 6.2831853071795862
 
const int DIAG_HEAT_NVAR = 5
 
const int N_VF_DIAG = 9
 
const int D1D_NPV1 = 18
 

Typedef Documentation

typedef int* FortranPtr

Enumeration Type Documentation

enum KinType
Enumerator
DriftKin 
GyroKin 
Enumerator
PIM 

Magnetic moment mu.

PIW0 

W0.

PIF0 

F0.

PTL_NCONST 
Enumerator
PIR 

r coordinate

PIZ 

z coordinate

PIP 

phi coordinate

PIRHO 

gyroradius

PIW1 

1st weight

PIW2 

2nd weight

PTL_NPHASE 
Enumerator
ELECTRON 
MAIN_ION 

Function Documentation

KOKKOS_INLINE_FUNCTION int divide_and_round_up ( int  a,
int  b 
)

Here is the caller graph for this function:

Variable Documentation

const int D1D_NPV1 = 18
const int DIAG_HEAT_NVAR = 5
const double EV_2_J =UNIT_CHARGE

Conversion rate ev to J.

const double J_2_EV =1.0/EV_2_J

Conversion rate J to ev.

const int N_VF_DIAG = 9
const double PI = 3.1415926535897932
const double PROTON_MASS = 1.6720e-27
const double TWOPI = 6.2831853071795862
const double UNIT_CHARGE = 1.6022e-19

Charge of an electron (C)