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