|
IPPL (Independent Parallel Particle Layer)
IPPL
|
#include "Ippl.h"#include <csignal>#include <thread>#include "Utility/TypeUtils.h"#include "PoissonSolvers/FFTOpenPoissonSolver.h"#include "PoissonSolvers/FFTPeriodicPoissonSolver.h"#include "PoissonSolvers/FFTTruncatedGreenPeriodicPoissonSolver.h"#include "PoissonSolvers/PoissonCG.h"Go to the source code of this file.
Classes | |
| class | ChargedParticles< PLayout, T, Dim > |
Typedefs | |
| template<unsigned Dim = 3> | |
| using | Mesh_t = ippl::UniformCartesian<double, Dim> |
| template<typename T, unsigned Dim = 3> | |
| using | PLayout_t = typename ippl::ParticleSpatialLayout<T, Dim, Mesh_t<Dim>> |
| template<unsigned Dim = 3> | |
| using | Centering_t = typename Mesh_t<Dim>::DefaultCentering |
| template<unsigned Dim = 3> | |
| using | FieldLayout_t = ippl::FieldLayout<Dim> |
| template<typename T, unsigned Dim = 3> | |
| using | Vector = ippl::Vector<T, Dim> |
| template<typename T, unsigned Dim = 3, class... ViewArgs> | |
| using | Field = ippl::Field<T, Dim, Mesh_t<Dim>, Centering_t<Dim>, ViewArgs...> |
| template<typename T = double, unsigned Dim = 3> | |
| using | ORB = ippl::OrthogonalRecursiveBisection<Field<double, Dim>, T> |
| template<typename T> | |
| using | ParticleAttrib = ippl::ParticleAttrib<T> |
| template<typename T, unsigned Dim = 3> | |
| using | Vector_t = ippl::Vector<T, Dim> |
| template<unsigned Dim = 3, class... ViewArgs> | |
| using | Field_t = Field<double, Dim, ViewArgs...> |
| template<typename T = double, unsigned Dim = 3, class... ViewArgs> | |
| using | VField_t = Field<Vector_t<T, Dim>, Dim, ViewArgs...> |
| template<typename T = double, unsigned Dim = 3> | |
| using | CGSolver_t = ippl::PoissonCG<Field<T, Dim>, Field_t<Dim>> |
| template<typename T = double, unsigned Dim = 3> | |
| using | FFTSolver_t |
| template<typename T = double, unsigned Dim = 3> | |
| using | FFTTruncatedGreenSolver_t = ConditionalType<Dim == 3, ippl::FFTTruncatedGreenPeriodicPoissonSolver<VField_t<T, Dim>, Field_t<Dim>>> |
| template<typename T = double, unsigned Dim = 3> | |
| using | OpenSolver_t |
| template<typename T = double, unsigned Dim = 3> | |
| using | Solver_t |
| template<bool B, typename T> | |
| using | ConditionalType |
| template<typename... Types> | |
| using | VariantFromConditionalTypes |
Functions | |
| void | interruptHandler (int signal) |
| bool | checkSignalHandler () |
| void | setSignalHandler () |
| template<typename T> | |
| void | dumpVTK (VField_t< T, 3 > &E, int nx, int ny, int nz, int iteration, double dx, double dy, double dz) |
| void | dumpVTK (Field_t< 3 > &rho, int nx, int ny, int nz, int iteration, double dx, double dy, double dz) |
Variables | |
| unsigned | LoggingPeriod = 1 |
| const double | pi = Kokkos::numbers::pi_v<double> |
| const char * | TestName |
| int | interruptSignalReceived = 0 |
| using Centering_t = typename Mesh_t<Dim>::DefaultCentering |
Definition at line 27 of file ChargedParticles.hpp.
| using CGSolver_t = ippl::PoissonCG<Field<T, Dim>, Field_t<Dim>> |
Definition at line 57 of file ChargedParticles.hpp.
| using ippl::detail::ConditionalType |
Convenience alias for types that should or should not be included in variants constructed with ConstructVariant (defined below) based on some compile-time constant
| B | whether the type should be enabled |
| T | the type |
Definition at line 56 of file TypeUtils.h.
| using FFTSolver_t |
Definition at line 62 of file ChargedParticles.hpp.
| using FFTTruncatedGreenSolver_t = ConditionalType<Dim == 3, ippl::FFTTruncatedGreenPeriodicPoissonSolver<VField_t<T, Dim>, Field_t<Dim>>> |
Definition at line 66 of file ChargedParticles.hpp.
| using Field = ippl::Field<T, Dim, Mesh_t<Dim>, Centering_t<Dim>, ViewArgs...> |
Definition at line 38 of file ChargedParticles.hpp.
Definition at line 50 of file ChargedParticles.hpp.
| using FieldLayout_t = ippl::FieldLayout<Dim> |
Definition at line 30 of file ChargedParticles.hpp.
| using Mesh_t = ippl::UniformCartesian<double, Dim> |
Definition at line 21 of file ChargedParticles.hpp.
| using OpenSolver_t |
Definition at line 69 of file ChargedParticles.hpp.
| using ORB = ippl::OrthogonalRecursiveBisection<Field<double, Dim>, T> |
Definition at line 41 of file ChargedParticles.hpp.
| using ParticleAttrib = ippl::ParticleAttrib<T> |
Definition at line 44 of file ChargedParticles.hpp.
| using PLayout_t = typename ippl::ParticleSpatialLayout<T, Dim, Mesh_t<Dim>> |
Definition at line 24 of file ChargedParticles.hpp.
Definition at line 73 of file ChargedParticles.hpp.
| using ippl::detail::VariantFromConditionalTypes |
A variant containing all the enabled types, where "enabled" types are assumed to be void when disabled (i.e. std::conditional_t<B, T, void>)
Definition at line 146 of file TypeUtils.h.
| using Vector = ippl::Vector<T, Dim> |
Definition at line 35 of file ChargedParticles.hpp.
| using Vector_t = ippl::Vector<T, Dim> |
Definition at line 47 of file ChargedParticles.hpp.
| using VField_t = Field<Vector_t<T, Dim>, Dim, ViewArgs...> |
Definition at line 53 of file ChargedParticles.hpp.
| bool checkSignalHandler | ( | ) |
Checks whether a signal was received
Definition at line 96 of file ChargedParticles.hpp.
References ippl::Comm, and interruptSignalReceived.
Referenced by main().
| void dumpVTK | ( | Field_t< 3 > & | rho, |
| int | nx, | ||
| int | ny, | ||
| int | nz, | ||
| int | iteration, | ||
| double | dx, | ||
| double | dy, | ||
| double | dz ) |
Definition at line 155 of file ChargedParticles.hpp.
References endl(), ippl::BareField< T, Dim, ViewArgs... >::getHostMirror(), ippl::BareField< T, Dim, ViewArgs... >::getView(), Inform::OVERWRITE, Inform::precision(), Inform::setf(), and TestName.
| void dumpVTK | ( | VField_t< T, 3 > & | E, |
| int | nx, | ||
| int | ny, | ||
| int | nz, | ||
| int | iteration, | ||
| double | dx, | ||
| double | dy, | ||
| double | dz ) |
Definition at line 119 of file ChargedParticles.hpp.
References endl(), ippl::BareField< T, Dim, ViewArgs... >::getHostMirror(), ippl::BareField< T, Dim, ViewArgs... >::getView(), Inform::OVERWRITE, Inform::precision(), Inform::setf(), and TestName.
| void interruptHandler | ( | int | signal | ) |
Signal handler records the received signal
| signal | received signal |
Definition at line 88 of file ChargedParticles.hpp.
References interruptSignalReceived.
Referenced by setSignalHandler().
| void setSignalHandler | ( | ) |
Sets up the signal handler
Definition at line 104 of file ChargedParticles.hpp.
References ippl::Comm, and interruptHandler().
Referenced by main().
| int interruptSignalReceived = 0 |
Definition at line 82 of file ChargedParticles.hpp.
Referenced by checkSignalHandler(), interruptHandler(), and main().
| unsigned LoggingPeriod = 1 |
Definition at line 17 of file ChargedParticles.hpp.
Referenced by main().
| const double pi = Kokkos::numbers::pi_v<double> |
Definition at line 76 of file ChargedParticles.hpp.
Referenced by ippl::FFTOpenPoissonSolver< FieldLHS, FieldRHS >::greensFunction(), main(), ippl::random::normal_pdf_func(), BumponTailInstabilityManager< T, Dim >::pre_run(), LandauDampingManager< T, Dim >::pre_run(), ippl::FFTOpenPoissonSolver< FieldLHS, FieldRHS >::solve(), ippl::FFTPeriodicPoissonSolver< FieldLHS, FieldRHS >::solve(), and ippl::FFTTruncatedGreenPeriodicPoissonSolver< FieldLHS, FieldRHS >::solve().
|
extern |
Definition at line 24 of file BumponTailInstability.cpp.
Referenced by ChargedParticles< PLayout, T, Dim >::balance().