OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
PBunchDefs.h
Go to the documentation of this file.
1#ifndef PBUNCHDEFS_H
2#define PBUNCHDEFS_H
3
4#include "Ippl.h"
5
6
7#include "Interpolation/CIC.h"
8#include "FieldLayout/FieldLayout.h"
9
10#include "Meshes/UniformCartesian.h"
11
12#include "Field/Field.h"
13
14//typedef IntCIC IntrplCIC_t;
15
16//typedef ippl::ParticleSpatialLayout<double, 3>::ParticlePos_t Ppos_t;
17//typedef ippl::ParticleSpatialLayout<double, 3>::ParticleIndex_t PID_t;
18
19using Mesh_t = ippl::UniformCartesian<double, 3>;
20
21typedef ippl::ParticleSpatialLayout< double, 3, Mesh_t > Layout_t;
22
23typedef Cell Center_t;
24
25
26template <unsigned Dim = 3>
27using FieldLayout_t = ippl::FieldLayout<Dim>;
28
29template <unsigned Dim = 3, class... ViewArgs>
30using Field_t = ippl::Field<double, Dim, ViewArgs...>;
31
32template <typename T = double, unsigned Dim = 3, class... ViewArgs>
33using VField_t = ippl::Field<ippl::Vector<T, Dim>, Dim, ViewArgs...>;
34
35#endif
Cell Center_t
Definition PBunchDefs.h:23
ippl::FieldLayout< Dim > FieldLayout_t
Definition PBunchDefs.h:27
ippl::Field< double, Dim, ViewArgs... > Field_t
Definition PBunchDefs.h:30
ippl::ParticleSpatialLayout< double, 3, Mesh_t > Layout_t
Definition PBunchDefs.h:21
ippl::Field< ippl::Vector< T, Dim >, Dim, ViewArgs... > VField_t
Definition PBunchDefs.h:33
ippl::UniformCartesian< double, 3 > Mesh_t
Definition PBunchDefs.h:19
double T
Definition datatypes.h:7
constexpr unsigned Dim
Definition datatypes.h:6