18#ifndef ALICEO2_TPC_POISSONSOLVERHELPERS_H_
19#define ALICEO2_TPC_POISSONSOLVERHELPERS_H_
53 inline static int nPre = 2;
61template <
typename DataT =
double>
68 static constexpr DataT EM{-1.602176487e-19 / 9.10938215e-31};
69 static constexpr DataT E0{8.854187817e-12};
74template <
typename DataT =
double>
80 static constexpr DataT POSTOP[]{133.3, 169.75, 207.85, 247.7};
83template <
typename DataT =
double>
CycleType
< Enumeration of Cycles Type
@ Jacobi
Jacobi (5 Stencil 2D, 7 Stencil 3D_.
@ GaussSeidel
Gauss Seidel 2D (2 Color, 5 Stencil), 3D (7 Stencil)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
static constexpr DataT POSTOP[]
local x position of the GEM frame on the top side per stack
static constexpr DataT WIDTHFRAME
width of the frame 1 cm
static constexpr DataT LENGTHFRAMEOROC3TOP
length of the GEM frame on the top side of the OROC3
static constexpr DataT POSBOTTOM[]
local x position of the GEM frame on the bottom side per stack
static constexpr DataT LENGTHFRAMEIROCBOTTOM
length of the GEM frame on the bottom side of the IROC
static constexpr DataT PHIMIN
min phi coordinate
static constexpr DataT ZMIN
min z coordinate
static constexpr DataT PHIMAX
max phi coordinate
static constexpr DataT ZMAX
max z coordinate
static constexpr DataT getRMin()
static constexpr DataT RMAX
max radius
static constexpr DataT getZMin()
static constexpr DataT getGridSpacingR(const unsigned int nR)
static constexpr DataT getPhiMin()
static constexpr DataT getGridSpacingZ(const unsigned int nZ)
static constexpr DataT getGridSpacingPhi(const unsigned int nPhi)
static constexpr DataT RMIN
min radius
static int gamma
number of iteration at coarsest level !TODO SET TO REASONABLE VALUE!
static int nMGCycle
number of multi grid cycle (V type)
static CycleType cycleType
cycleType follow CycleType
static int maxLoop
the number of tree-deep of multi grid
static bool normalizeGridToOneSector
the grid in phi direction is squashed from 2 Pi to (2 Pi / SECTORSPERSIDE). This can used to get the ...
static bool isFull3D
< Parameters choice for MultiGrid algorithm
static GridTransferType gtType
gtType grid transfer type follow GridTransferType
static RelaxType relaxType
relaxType follow RelaxType
static int nPre
number of iteration for pre smoothing
static int nPost
number of iteration for post smoothing
static constexpr DataT DVDE
[cm/V] drift velocity dependency on the E field (from Magboltz for NeCO2N2 at standard environment)
static constexpr DataT ZOFFSET
Offset from CE: calculate all distortions closer to CE as if at this point.
static constexpr DataT IFCRADIUS
Mean Radius of the Inner Field Cage ( 82.43 min, 83.70 max) (cm)
static DataT cathodev
Cathode Voltage [V] (for 400 V/cm)
static constexpr DataT TPCZ0
nominal G1T position
static constexpr DataT E0
vacuum permittivity [A·s/(V·m)]
static constexpr DataT EM
charge/mass in [C/kg]
static constexpr DataT OFCRADIUS
Mean Radius of the Outer Field Cage (252.55 min, 256.45 max) (cm)
static DataT vg1t
GEM 1 Top voltage. (setting with reduced ET1,2,4 = 3.5kV/cm)