OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
|
#include <MakeDataSource.h>
Public Attributes | |
ParticlePos_t | R |
ParticleIndex_t | ID |
![]() | |
ParticlePos_t * | R_p |
ParticleIndex_t * | ID_p |
Protected Member Functions | |
virtual DataSourceObject * | createDataSourceObject (const char *nm, DataConnect *dc, int tm) |
Protected Attributes | |
std::vector< std::pair< size_t, size_t > > | DestroyList |
Private Member Functions | |
void | setup () |
unsigned | getNextID () |
Private Attributes | |
PLayout * | Layout |
attrib_container_t | AttribList |
size_t | TotalNum |
size_t | LocalNum |
size_t | DestroyNum |
size_t | GhostNum |
unsigned | NextID |
Definition at line 26 of file MakeDataSource.h.
typedef std::vector<ParticleAttribBase *> IpplParticleBase< PLayout >::attrib_container_t |
Definition at line 142 of file IpplParticleBase.h.
typedef attrib_container_t::iterator IpplParticleBase< PLayout >::attrib_iterator |
Definition at line 143 of file IpplParticleBase.h.
typedef PLayout::Index_t IpplParticleBase< PLayout >::Index_t |
Definition at line 134 of file IpplParticleBase.h.
typedef PLayout IpplParticleBase< PLayout >::Layout_t |
Definition at line 132 of file IpplParticleBase.h.
typedef PLayout::pair_iterator IpplParticleBase< PLayout >::pair_iterator |
Definition at line 139 of file IpplParticleBase.h.
typedef PLayout::pair_t IpplParticleBase< PLayout >::pair_t |
Definition at line 140 of file IpplParticleBase.h.
typedef PLayout::ParticleIndex_t IpplParticleBase< PLayout >::ParticleIndex_t |
Definition at line 137 of file IpplParticleBase.h.
typedef PLayout::ParticlePos_t IpplParticleBase< PLayout >::ParticlePos_t |
Definition at line 136 of file IpplParticleBase.h.
typedef PLayout::Position_t IpplParticleBase< PLayout >::Position_t |
Definition at line 133 of file IpplParticleBase.h.
typedef ParticleAttribBase::SortList_t IpplParticleBase< PLayout >::SortList_t |
Definition at line 144 of file IpplParticleBase.h.
typedef PLayout::UpdateFlags IpplParticleBase< PLayout >::UpdateFlags |
Definition at line 141 of file IpplParticleBase.h.
anonymous enum |
Enumerator | |
---|---|
Dim |
Definition at line 129 of file IpplParticleBase.h.
|
inline |
Definition at line 154 of file IpplParticleBase.h.
|
inline |
Definition at line 163 of file IpplParticleBase.h.
|
inline |
Definition at line 174 of file IpplParticleBase.h.
|
inlinevirtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 231 of file IpplParticleBase.h.
Referenced by GenArrayParticle< PLayout, T, N >::GenArrayParticle(), GenParticle< PLayout, T >::GenParticle(), and AmrParticleBase< PLayout >::initializeAmr().
|
inline |
Definition at line 242 of file IpplParticleBase.h.
|
virtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 410 of file IpplParticleBase.hpp.
References ADDIPPLSTAT, and PAssert.
Referenced by AmrParticleBase< PLayout >::create().
|
inlineprotectedvirtual |
Implements DataSource.
Definition at line 346 of file IpplParticleBase.h.
|
virtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 437 of file IpplParticleBase.hpp.
References ADDIPPLSTAT, and PAssert.
Referenced by AmrParticleBase< PLayout >::createWithID().
|
virtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 491 of file IpplParticleBase.hpp.
References ADDIPPLSTAT, ParticleLayout< T, Dim >::OPTDESTROY, and PAssert.
Referenced by AmrParticleBase< PLayout >::destroy(), and DiscParticle::read().
|
inline |
Definition at line 243 of file IpplParticleBase.h.
|
inline |
Definition at line 235 of file IpplParticleBase.h.
Referenced by DiscParticle::read(), and DiscParticle::write().
|
inlinevirtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 207 of file IpplParticleBase.h.
|
inlinevirtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 197 of file IpplParticleBase.h.
Format * IpplParticleBase< PLayout >::getFormat | ( | ) |
Definition at line 250 of file IpplParticleBase.hpp.
References putMessage().
|
inlinevirtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 198 of file IpplParticleBase.h.
|
inlinevirtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 203 of file IpplParticleBase.h.
Referenced by AmrParticleBase< PLayout >::getAmrLayout(), IpplParticleBase< T >::getUpdateFlag(), and IpplParticleBase< T >::setUpdateFlag().
|
inlinevirtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 204 of file IpplParticleBase.h.
|
inlinevirtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 196 of file IpplParticleBase.h.
Referenced by DiscParticle::read(), and DiscParticle::write().
size_t IpplParticleBase< PLayout >::getMessage | ( | Message & | msg | ) |
Definition at line 346 of file IpplParticleBase.hpp.
References Message::get(), and PAssert.
size_t IpplParticleBase< PLayout >::getMessageAndCreate | ( | Message & | msg | ) |
Definition at line 394 of file IpplParticleBase.hpp.
References ADDIPPLSTAT, getMessage(), and PAssert.
Referenced by DiscParticle::read().
|
private |
Definition at line 86 of file IpplParticleBase.hpp.
References IpplInfo::Comm.
size_t IpplParticleBase< PLayout >::getSingleMessage | ( | Message & | msg | ) |
Definition at line 369 of file IpplParticleBase.hpp.
References PAssert.
|
inlinevirtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 195 of file IpplParticleBase.h.
Referenced by DiscParticle::write().
|
inlinevirtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 219 of file IpplParticleBase.h.
|
virtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 603 of file IpplParticleBase.hpp.
References PAssert.
size_t IpplParticleBase< PLayout >::ghostGetMessage | ( | Message & | msg, |
int | |||
) |
Definition at line 688 of file IpplParticleBase.hpp.
References Message::get(), and PAssert.
size_t IpplParticleBase< PLayout >::ghostGetSingleMessage | ( | Message & | msg, |
int | |||
) |
Definition at line 713 of file IpplParticleBase.hpp.
References PAssert.
size_t IpplParticleBase< PLayout >::ghostPutMessage | ( | Message & | msg, |
size_t | M, | ||
size_t | I | ||
) |
Definition at line 628 of file IpplParticleBase.hpp.
References PAssert, Message::put(), and Attrib::Distribution::R.
size_t IpplParticleBase< PLayout >::ghostPutMessage | ( | Message & | msg, |
const std::vector< size_t > & | pl | ||
) |
Definition at line 663 of file IpplParticleBase.hpp.
References PAssert, and Message::put().
|
virtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 465 of file IpplParticleBase.hpp.
References IpplInfo::getNodes(), IpplInfo::myNode(), and PAssert.
void IpplParticleBase< PLayout >::initialize | ( | PLayout * | layout | ) |
Definition at line 33 of file IpplParticleBase.hpp.
References PAssert.
|
inline |
Definition at line 239 of file IpplParticleBase.h.
Referenced by DiscParticle::read(), and DiscParticle::write().
|
virtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 557 of file IpplParticleBase.hpp.
References ParticleLayout< T, Dim >::OPTDESTROY, and PAssert.
Referenced by AmrParticleBase< PLayout >::performDestroy().
void IpplParticleBase< PLayout >::printDebug | ( | Inform & | o | ) |
Definition at line 763 of file IpplParticleBase.hpp.
References endl().
size_t IpplParticleBase< PLayout >::putMessage | ( | Message & | msg, |
size_t | M, | ||
size_t | I | ||
) |
Definition at line 180 of file IpplParticleBase.hpp.
References PAssert, PAssert_LE, PAssert_LT, Message::put(), and Attrib::Distribution::R.
Referenced by DiscParticle::write().
size_t IpplParticleBase< PLayout >::putMessage | ( | Message & | msg, |
const std::vector< size_t > & | putList | ||
) |
Definition at line 209 of file IpplParticleBase.hpp.
References PAssert, and Message::put().
size_t IpplParticleBase< PLayout >::putMessage | ( | Message & | msg, |
size_t | I | ||
) |
Definition at line 232 of file IpplParticleBase.hpp.
References PAssert.
size_t IpplParticleBase< PLayout >::readGhostMsgBuffer | ( | MsgBuffer * | msgbuf, |
int | node | ||
) |
Definition at line 330 of file IpplParticleBase.hpp.
References MsgBuffer::get().
size_t IpplParticleBase< PLayout >::readMsgBuffer | ( | MsgBuffer * | msgbuf | ) |
Definition at line 314 of file IpplParticleBase.hpp.
References MsgBuffer::get().
|
virtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 96 of file IpplParticleBase.hpp.
References IpplInfo::Comm, COMM_ANY_NODE, Message::get(), IpplInfo::getNodes(), IpplInfo::myNode(), TagMaker::next_tag(), P_LAYOUT_CYCLE, P_RESET_ID_TAG, PAssert, Message::put(), Communicate::receive_block(), Communicate::send(), and sum().
|
inline |
Definition at line 210 of file IpplParticleBase.h.
|
inlinevirtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 200 of file IpplParticleBase.h.
|
inlinevirtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 199 of file IpplParticleBase.h.
|
private |
Definition at line 49 of file IpplParticleBase.hpp.
References IpplInfo::Comm, Communicate::getNodes(), INCIPPLSTAT, Communicate::myNode(), and Attrib::Distribution::R.
Referenced by IpplParticleBase< T >::IpplParticleBase().
|
inlinevirtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 222 of file IpplParticleBase.h.
|
virtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Definition at line 78 of file IpplParticleBase.hpp.
References IpplInfo::Comm.
void IpplParticleBase< PLayout >::sort | ( | SortList_t & | sortlist | ) |
Definition at line 737 of file IpplParticleBase.hpp.
|
virtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Reimplemented in AmrParticleBase< PLayout >.
Definition at line 523 of file IpplParticleBase.hpp.
References INCIPPLSTAT, and PAssert.
Referenced by DiscParticle::read().
|
virtual |
Implements AbstractParticle< PLayout::Position_t, PLayout::Dimension >.
Reimplemented in AmrParticleBase< PLayout >.
Definition at line 540 of file IpplParticleBase.hpp.
References INCIPPLSTAT, and PAssert.
size_t IpplParticleBase< PLayout >::writeMsgBuffer | ( | MsgBuffer *& | msgbuf, |
const std::vector< size_t > & | list | ||
) |
Definition at line 275 of file IpplParticleBase.hpp.
References MsgBuffer::add(), and putMessage().
size_t IpplParticleBase< PLayout >::writeMsgBufferWithOffsets | ( | MsgBuffer *& | msgbuf, |
const std::vector< size_t > & | list, | ||
const std::vector< O > & | offset | ||
) |
Definition at line 291 of file IpplParticleBase.hpp.
References MsgBuffer::add(), Dim, putMessage(), and Attrib::Distribution::R.
|
private |
Definition at line 362 of file IpplParticleBase.h.
Referenced by IpplParticleBase< T >::addAttribute(), IpplParticleBase< T >::begin(), IpplParticleBase< T >::end(), IpplParticleBase< T >::getAttribute(), and IpplParticleBase< T >::numAttributes().
|
protected |
Definition at line 355 of file IpplParticleBase.h.
|
private |
Definition at line 369 of file IpplParticleBase.h.
Referenced by IpplParticleBase< T >::getDestroyNum().
|
private |
Definition at line 370 of file IpplParticleBase.h.
Referenced by IpplParticleBase< T >::getGhostNum().
ParticleIndex_t IpplParticleBase< PLayout >::ID |
Definition at line 148 of file IpplParticleBase.h.
|
private |
Definition at line 359 of file IpplParticleBase.h.
Referenced by IpplParticleBase< T >::getBConds(), IpplParticleBase< T >::getLayout(), IpplParticleBase< T >::setBConds(), and IpplParticleBase< T >::~IpplParticleBase().
|
private |
Definition at line 368 of file IpplParticleBase.h.
Referenced by IpplParticleBase< T >::getLocalNum(), and IpplParticleBase< T >::setLocalNum().
|
private |
Definition at line 373 of file IpplParticleBase.h.
ParticlePos_t IpplParticleBase< PLayout >::R |
Definition at line 147 of file IpplParticleBase.h.
|
private |
Definition at line 367 of file IpplParticleBase.h.
Referenced by IpplParticleBase< T >::getTotalNum(), and IpplParticleBase< T >::setTotalNum().