OPALX (Object Oriented Parallel Accelerator Library for Exascale) MINIorX
OPALX
ippl/src/Manager/datatypes.h
Go to the documentation of this file.
1#ifndef IPPL_DATATYPES_H
2#define IPPL_DATATYPES_H
3
9
10// some typedefs
11template <unsigned Dim>
13
14template <typename T, unsigned Dim>
16
17template <unsigned Dim>
19
20template <unsigned Dim>
22
24
25template <typename T, unsigned Dim>
27
28template <typename T, unsigned Dim = 3, class... ViewArgs>
30
31template <typename T = double, unsigned Dim = 3>
33
34template <typename T>
36
37template <typename T, unsigned Dim>
39
40template <unsigned Dim, class... ViewArgs>
41using Field_t = Field<double, Dim, ViewArgs...>;
42
43template <typename T = double, unsigned Dim = 3, class... ViewArgs>
44using VField_t = Field<Vector_t<T, Dim>, Dim, ViewArgs...>;
45
46template <typename T = double, unsigned Dim = 3>
48
49template <typename T = double, unsigned Dim = 3>
51
53
54template <typename T = double, unsigned Dim = 3>
55using FFTSolver_t = ConditionalType<Dim == 2 || Dim == 3,
57
58template <typename T = double, unsigned Dim = 3>
62
63template <typename T = double, unsigned Dim = 3>
65 ConditionalType<Dim == 3, ippl::FFTOpenPoissonSolver<VField_t<T, Dim>, Field_t<Dim>>>;
66
67template <typename T = double, unsigned Dim = 3>
68using Solver_t = VariantFromConditionalTypes<CGSolver_t<T, Dim>, FFTSolver_t<T, Dim>,
71
72extern const char* TestName;
73
74#endif
VariantFromConditionalTypes< FFTSolver_t< T, Dim >, P3MSolver_t< T, Dim >, OpenSolver_t< T, Dim > > Solver_t
Definition: #PartBunch.hpp#:59
ConditionalType< Dim==2||Dim==3, ippl::FFTPeriodicPoissonSolver< VField_t< T, Dim >, Field_t< Dim > > > FFTSolver_t
Definition: #PartBunch.hpp#:48
ConditionalType< Dim==3, ippl::FFTOpenPoissonSolver< VField_t< T, Dim >, Field_t< Dim > > > OpenSolver_t
Definition: #PartBunch.hpp#:55
typename ippl::ParticleSpatialLayout< T, Dim, Mesh_t< Dim > > PLayout_t
typename Mesh_t< Dim >::DefaultCentering Centering_t
ippl::detail::size_type size_type
std::conditional_t< B, T, void > ConditionalType
Definition: TypeUtils.h:56
typename ConstructVariant< std::variant< Types... >, std::variant<>, IsEnabled >::type VariantFromConditionalTypes
Definition: TypeUtils.h:147
std::size_t size_type
Definition: IpplTypes.h:13
Definition: Centering.h:30
const char * TestName
ConditionalType< Dim==3, ippl::FFTTruncatedGreenPeriodicPoissonSolver< VField_t< T, Dim >, Field_t< Dim > > > FFTTruncatedGreenSolver_t
constexpr unsigned Dim