![]() |
Block-Structured AMR Software Framework
|
#include <AMReX_Config.H>#include <AMReX_IntVect.H>#include <AMReX_Box.H>#include <AMReX_Gpu.H>#include <AMReX_Print.H>#include <AMReX_GpuUtility.H>#include <AMReX_TypeTraits.H>#include <AMReX_ParticleUtil.H>#include <AMReX_Vector.H>#include <iterator>#include <limits>#include <type_traits>Go to the source code of this file.
Namespaces | |
| namespace | amrex |
Functions | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| auto | amrex::ReduceSum (PC const &pc, F &&f) -> decltype(particle_detail::call_f(f, typename PC::ConstPTDType(), int())) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates over all particles on all levels. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| auto | amrex::ReduceSum (PC const &pc, int lev, F &&f) -> decltype(particle_detail::call_f(f, typename PC::ConstPTDType(), int())) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates only on the specified level. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| auto | amrex::ReduceSum (PC const &pc, int lev_min, int lev_max, F const &f) -> decltype(particle_detail::call_f(f, typename PC::ConstPTDType(), int())) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates from the specified lev_min to lev_max. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| auto | amrex::ReduceMax (PC const &pc, F &&f) -> decltype(particle_detail::call_f(f, typename PC::ConstPTDType(), int())) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates over all particles on all levels. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| auto | amrex::ReduceMax (PC const &pc, int lev, F &&f) -> decltype(particle_detail::call_f(f, typename PC::ConstPTDType(), int())) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates only on the specified level. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| auto | amrex::ReduceMax (PC const &pc, int lev_min, int lev_max, F const &f) -> decltype(particle_detail::call_f(f, typename PC::ConstPTDType(), int())) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates from the specified lev_min to lev_max. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| auto | amrex::ReduceMin (PC const &pc, F &&f) -> decltype(particle_detail::call_f(f, typename PC::ConstPTDType(), int())) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates over all particles on all levels. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| auto | amrex::ReduceMin (PC const &pc, int lev, F &&f) -> decltype(particle_detail::call_f(f, typename PC::ConstPTDType(), int())) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates only on the specified level. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| auto | amrex::ReduceMin (PC const &pc, int lev_min, int lev_max, F const &f) -> decltype(particle_detail::call_f(f, typename PC::ConstPTDType(), int())) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates from the specified lev_min to lev_max. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| bool | amrex::ReduceLogicalAnd (PC const &pc, F &&f) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates over all particles on all levels. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| bool | amrex::ReduceLogicalAnd (PC const &pc, int lev, F &&f) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates only on the specified level. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| bool | amrex::ReduceLogicalAnd (PC const &pc, int lev_min, int lev_max, F const &f) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates from the specified lev_min to lev_max. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| bool | amrex::ReduceLogicalOr (PC const &pc, F &&f) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates over all particles on all levels. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| bool | amrex::ReduceLogicalOr (PC const &pc, int lev, F &&f) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates only on the specified level. | |
| template<class PC , class F > requires (IsParticleContainer<PC>::value) | |
| bool | amrex::ReduceLogicalOr (PC const &pc, int lev_min, int lev_max, F const &f) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates from the specified lev_min to lev_max. | |
| template<class RD , class PC , class F , class ReduceOps > requires (IsParticleContainer<PC>::value) | |
| RD::Type | amrex::ParticleReduce (PC const &pc, F &&f, ReduceOps &reduce_ops) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates over all particles on all levels. | |
| template<class RD , class PC , class F , class ReduceOps > requires (IsParticleContainer<PC>::value) | |
| RD::Type | amrex::ParticleReduce (PC const &pc, int lev, F &&f, ReduceOps &reduce_ops) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates only on the specified level. | |
| template<class RD , class PC , class F , class ReduceOps > requires (IsParticleContainer<PC>::value) | |
| RD::Type | amrex::ParticleReduce (PC const &pc, int lev_min, int lev_max, F const &f, ReduceOps &reduce_ops) |
| A general reduction method for the particles in a ParticleContainer that can run on either CPUs or GPUs. This version operates from the specified lev_min to lev_max. | |