XGC1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
XGC_core
cpp
local_fields.hpp
Go to the documentation of this file.
1
#ifndef LOCAL_FIELDS_HPP
2
#define LOCAL_FIELDS_HPP
3
4
#include "
globals.hpp
"
5
6
// Fields at a set of points, interpolated from solved grid quantities
7
struct
LocalFields
{
8
SimdVector
E
;
// Electric field vector
9
#ifdef SONIC_GK
10
SimdVector
dEr_B2;
// Gradient of Er/B^2
11
SimdVector
dEz_B2;
// Gradient of Ez/B^2
12
SimdVector
du2_E;
// Gradient of the square (dot product) of the E x B drift
13
#endif
14
#ifdef DELTAF_CONV
15
SimdVector
E00;
// 00 E-field
16
Simd<double>
ddpotdt;
// dPhi/dt
17
#endif
18
#ifdef EXPLICIT_EM
19
SimdVector
dAh;
// || comp. of Vector potential
20
Simd<double>
Ah;
// || comp. of Vector potential
21
SimdVector
dAs;
// || comp. of Vector potential
22
Simd<double>
As;
// || comp. of Vector potential
23
Simd<double>
Epar_em;
24
#endif
25
};
26
27
#endif
SimdVector
Definition:
simd.hpp:149
LocalFields
Definition:
local_fields.hpp:7
Simd< double >
globals.hpp
LocalFields::E
SimdVector E
Definition:
local_fields.hpp:8
Generated by
1.8.5