OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
HashPairBuilderParallel< PBase > Class Template Reference

#include <HashPairBuilderParallel.h>

Collaboration diagram for HashPairBuilderParallel< PBase >:

Public Types

enum  { Dim = PBase::Dim }
typedef PBase::Position_t Position_t

Public Member Functions

 HashPairBuilderParallel (PBase &p_r, double gammaz)
template<class Pred, class OP>
void forEach (const Pred &pred_r, const OP &op_r)

Private Member Functions

std::size_t getBucketId (std::size_t i)

Private Attributes

PBase & particles_mr
double gammaz_m
Vektor< int, 3 > bucketsPerDim_m
Vektor< double, 3 > hChaining_m
Vektor< double, 3 > rmin_m
Vektor< double, 3 > rmax_m
Vektor< double, 3 > hr_m

Detailed Description

template<class PBase>
class HashPairBuilderParallel< PBase >

Definition at line 37 of file HashPairBuilderParallel.h.

Member Typedef Documentation

◆ Position_t

template<class PBase>
typedef PBase::Position_t HashPairBuilderParallel< PBase >::Position_t

Definition at line 41 of file HashPairBuilderParallel.h.

Member Enumeration Documentation

◆ anonymous enum

template<class PBase>
anonymous enum
Enumerator
Dim 

Definition at line 40 of file HashPairBuilderParallel.h.

Constructor & Destructor Documentation

◆ HashPairBuilderParallel()

template<class PBase>
HashPairBuilderParallel< PBase >::HashPairBuilderParallel ( PBase & p_r,
double gammaz )
inline

Definition at line 43 of file HashPairBuilderParallel.h.

References gammaz_m, hr_m, and particles_mr.

Member Function Documentation

◆ forEach()

template<class PBase>
template<class Pred, class OP>
void HashPairBuilderParallel< PBase >::forEach ( const Pred & pred_r,
const OP & op_r )
inline

Definition at line 48 of file HashPairBuilderParallel.h.

References bucketsPerDim_m, gammaz_m, getBucketId(), hChaining_m, hr_m, IpplInfo::myNode(), particles_mr, rmax_m, and rmin_m.

Referenced by P3MPoissonSolver::calculatePairForces().

Here is the call graph for this function:

◆ getBucketId()

template<class PBase>
std::size_t HashPairBuilderParallel< PBase >::getBucketId ( std::size_t i)
inlineprivate

Definition at line 190 of file HashPairBuilderParallel.h.

References bucketsPerDim_m, hChaining_m, particles_mr, rmax_m, and rmin_m.

Referenced by forEach().

Member Data Documentation

◆ bucketsPerDim_m

template<class PBase>
Vektor<int,3> HashPairBuilderParallel< PBase >::bucketsPerDim_m
private

Definition at line 214 of file HashPairBuilderParallel.h.

Referenced by forEach(), and getBucketId().

◆ gammaz_m

template<class PBase>
double HashPairBuilderParallel< PBase >::gammaz_m
private

Definition at line 213 of file HashPairBuilderParallel.h.

Referenced by forEach(), and HashPairBuilderParallel().

◆ hChaining_m

template<class PBase>
Vektor<double,3> HashPairBuilderParallel< PBase >::hChaining_m
private

Definition at line 215 of file HashPairBuilderParallel.h.

Referenced by forEach(), and getBucketId().

◆ hr_m

template<class PBase>
Vektor<double,3> HashPairBuilderParallel< PBase >::hr_m
private

Definition at line 218 of file HashPairBuilderParallel.h.

Referenced by forEach(), and HashPairBuilderParallel().

◆ particles_mr

template<class PBase>
PBase& HashPairBuilderParallel< PBase >::particles_mr
private

Definition at line 212 of file HashPairBuilderParallel.h.

Referenced by forEach(), getBucketId(), and HashPairBuilderParallel().

◆ rmax_m

template<class PBase>
Vektor<double,3> HashPairBuilderParallel< PBase >::rmax_m
private

Definition at line 217 of file HashPairBuilderParallel.h.

Referenced by forEach(), and getBucketId().

◆ rmin_m

template<class PBase>
Vektor<double,3> HashPairBuilderParallel< PBase >::rmin_m
private

Definition at line 216 of file HashPairBuilderParallel.h.

Referenced by forEach(), and getBucketId().


The documentation for this class was generated from the following file: