OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Classes | Macros | Functions
ParticleAttrib.hpp File Reference
#include "Particle/ParticleAttrib.h"
#include "Field/Field.h"
#include "Field/LField.h"
#include "Message/Message.h"
#include "Utility/IpplInfo.h"
#include "Utility/PAssert.h"
#include "Utility/IpplStats.h"
#include "AppTypes/AppTypeTraits.h"
Include dependency graph for ParticleAttrib.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PASortCompare< T >
 
struct  PASortCompare< char >
 
struct  PASortCompare< unsigned char >
 
struct  PASortCompare< short >
 
struct  PASortCompare< unsigned short >
 
struct  PASortCompare< int >
 
struct  PASortCompare< unsigned int >
 
struct  PASortCompare< long >
 
struct  PASortCompare< unsigned long >
 
struct  PASortCompare< float >
 
struct  PASortCompare< double >
 

Macros

#define PA_SORT_COMPARE_SCALAR(SCALAR)
 

Functions

template<class FT , unsigned Dim, class M , class C , class PT , class IntOp >
void scatter (Field< FT, Dim, M, C > &f, const ParticleAttrib< Vektor< PT, Dim > > &pp, const IntOp &, FT val)
 
template<class FT , unsigned Dim, class M , class C , class PT , class IntOp , class CacheData >
void scatter (Field< FT, Dim, M, C > &f, const ParticleAttrib< Vektor< PT, Dim > > &pp, const IntOp &, ParticleAttrib< CacheData > &cache, FT val)
 
template<class FT , unsigned Dim, class M , class C , class IntOp , class CacheData >
void scatter (Field< FT, Dim, M, C > &f, const IntOp &, const ParticleAttrib< CacheData > &cache, FT val)
 

Macro Definition Documentation

◆ PA_SORT_COMPARE_SCALAR

#define PA_SORT_COMPARE_SCALAR (   SCALAR)
Value:
template<> \
{ \
static bool compare(const SCALAR &a, const SCALAR &b, bool ascending) \
{ \
return (ascending ? (a < b) : (a > b)); \
} \
};
std::complex< double > a

Definition at line 390 of file ParticleAttrib.hpp.

Function Documentation

◆ scatter() [1/3]

template<class FT , unsigned Dim, class M , class C , class IntOp , class CacheData >
void scatter ( Field< FT, Dim, M, C > &  f,
const IntOp &  intop,
const ParticleAttrib< CacheData > &  cache,
FT  val 
)

◆ scatter() [2/3]

template<class FT , unsigned Dim, class M , class C , class PT , class IntOp >
void scatter ( Field< FT, Dim, M, C > &  f,
const ParticleAttrib< Vektor< PT, Dim > > &  pp,
const IntOp &  intop,
FT  val 
)

◆ scatter() [3/3]

template<class FT , unsigned Dim, class M , class C , class PT , class IntOp , class CacheData >
void scatter ( Field< FT, Dim, M, C > &  f,
const ParticleAttrib< Vektor< PT, Dim > > &  pp,
const IntOp &  intop,
ParticleAttrib< CacheData > &  cache,
FT  val 
)