![]() |
Project
|
#include <PoissonSolver.h>
Public Types | |
using | RegularGrid = RegularGrid3D< DataT > |
using | DataContainer = DataContainer3D< DataT > |
using | Vector = Vector3D< DataT > |
Public Member Functions | |
PoissonSolver (const RegularGrid &gridProperties) | |
default constructor | |
void | poissonSolver3D (DataContainer &matricesV, const DataContainer &matricesCharge, const int symmetry) |
void | poissonSolver2D (DataContainer &matricesV, const DataContainer &matricesCharge) |
DataT | getSpacingZ () const |
DataT | getSpacingR () const |
DataT | getSpacingPhi () const |
Static Public Member Functions | |
static void | setConvergenceError (const DataT error) |
static DataT | getConvergenceError () |
static int | getNThreads () |
get the number of threads used for some of the calculations | |
static void | setNThreads (int nThreads) |
set the number of threads used for some of the calculations | |
DataT | the type of data which is used during the calculations |
The PoissonSolver class represents methods to solve the poisson equation. Original version with more methods can be found in AliTPCPoissonSolver. Following methods are implemented: poissonSolver3D, poissonSolver3D2D, poissonSolver2D
Definition at line 48 of file PoissonSolver.h.
using o2::tpc::PoissonSolver< DataT >::DataContainer = DataContainer3D<DataT> |
Definition at line 52 of file PoissonSolver.h.
using o2::tpc::PoissonSolver< DataT >::RegularGrid = RegularGrid3D<DataT> |
Definition at line 51 of file PoissonSolver.h.
using o2::tpc::PoissonSolver< DataT >::Vector = Vector3D<DataT> |
Definition at line 53 of file PoissonSolver.h.
|
inline |
default constructor
Definition at line 56 of file PoissonSolver.h.
|
inlinestatic |
Definition at line 90 of file PoissonSolver.h.
|
inlinestatic |
get the number of threads used for some of the calculations
Definition at line 93 of file PoissonSolver.h.
|
inline |
Definition at line 86 of file PoissonSolver.h.
|
inline |
Definition at line 85 of file PoissonSolver.h.
|
inline |
Definition at line 84 of file PoissonSolver.h.
void PoissonSolver::poissonSolver2D | ( | DataContainer & | matricesV, |
const DataContainer & | matricesCharge | ||
) |
Provides poisson solver in 2D
Based on the strategy (multi grid)
matricesV | potential in matrix |
matricesCharge | charge density in matrix (side effect |
Definition at line 53 of file PoissonSolver.cxx.
void PoissonSolver::poissonSolver3D | ( | DataContainer & | matricesV, |
const DataContainer & | matricesCharge, | ||
const int | symmetry | ||
) |
Provides poisson solver in Cylindrical 3D (TPC geometry)
Strategy based on parameter settings (mMgParameters)provided
matricesV | potential in 3D |
matricesCharge | charge density in 3D (side effect) |
symmetry | symmetry or not |
Definition at line 37 of file PoissonSolver.cxx.
|
inlinestatic |
Definition at line 88 of file PoissonSolver.h.
|
inlinestatic |
set the number of threads used for some of the calculations
Definition at line 96 of file PoissonSolver.h.