OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TagMaker Class Reference

#include <TagMaker.h>

Inheritance diagram for TagMaker:
Inheritance graph
[legend]

Classes

class  TagCompare
 
class  TagInfo
 

Public Member Functions

 TagMaker (void)
 
virtual ~TagMaker (void)
 
int next_tag (int t, int s=1000)
 
int current_tag (int t, int s=1000)
 
int reset_tag (int t, int s=1000)
 

Private Member Functions

TagInfocreate_base_tag (int t, int s=1000)
 

Private Attributes

std::map< int, TagInfo, TagCompareTagList
 

Detailed Description

Definition at line 27 of file TagMaker.h.

Constructor & Destructor Documentation

◆ TagMaker()

TagMaker::TagMaker ( void  )
inline

Definition at line 32 of file TagMaker.h.

◆ ~TagMaker()

virtual TagMaker::~TagMaker ( void  )
inlinevirtual

Definition at line 33 of file TagMaker.h.

Member Function Documentation

◆ create_base_tag()

TagInfo & TagMaker::create_base_tag ( int  t,
int  s = 1000 
)
inlineprivate

Definition at line 92 of file TagMaker.h.

References TagMaker::TagInfo::base, TagMaker::TagInfo::cycleSize, and TagList.

Referenced by current_tag(), next_tag(), and reset_tag().

◆ current_tag()

int TagMaker::current_tag ( int  t,
int  s = 1000 
)
inline

Definition at line 48 of file TagMaker.h.

References TagMaker::TagInfo::base, create_base_tag(), and TagMaker::TagInfo::current.

Here is the call graph for this function:

◆ next_tag()

int TagMaker::next_tag ( int  t,
int  s = 1000 
)
inline

Definition at line 39 of file TagMaker.h.

References TagMaker::TagInfo::base, create_base_tag(), TagMaker::TagInfo::current, and TagMaker::TagInfo::cycleSize.

Referenced by BareField< T, Dim >::accumGuardCells(), ParallelPeriodicFace< T, D, M, C >::apply(), ParallelInterpolationFace< T, D, M, C >::apply(), assign(), DiscField< Dim >::distribute_offsets(), ParallelTTracker::evenlyDistributeParticles(), FieldLayout< Dim >::FieldLayout(), FieldDataSource< T, Dim, M, C >::gather_data(), BareField< T, Dim >::getsingle(), BareField< T, Dim >::getsingle_bc(), ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::new_swap_particles(), pap(), DiscConfig::parse_config(), FieldDebugPrint< T, Dim >::print(), FieldPrint< T, Dim >::print(), FieldLayout< Dim >::read(), DiscField< Dim >::read(), DiscField< Dim >::read_meta(), DiscParticle::read_meta(), ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::rebuild_layout(), reduce(), reduce_masked(), IpplParticleBase< PLayout >::resetID(), LossDataSink::saveASCII(), scatter(), ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::short_swap_particles(), ParallelCyclotronTracker::singleParticleDump(), spap(), ParticleCashedLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticleInteractLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::swap_particles(), BoxLibLayout< T, Dim >::update(), ParticleCashedLayout< T, Dim, Mesh >::update(), ParticleInteractLayout< T, Dim, Mesh >::update(), ParticleUniformLayout< T, Dim >::update(), BoxParticleCachingPolicy< T, Dim, Mesh >::updateGhostParticles(), DiscField< Dim >::write(), DiscParticle::write(), BareField< T, Dim >::write(), and Distribution::writeOutFileEmission().

Here is the call graph for this function:

◆ reset_tag()

int TagMaker::reset_tag ( int  t,
int  s = 1000 
)
inline

Definition at line 56 of file TagMaker.h.

References TagMaker::TagInfo::base, create_base_tag(), and TagMaker::TagInfo::current.

Here is the call graph for this function:

Member Data Documentation

◆ TagList

std::map<int, TagInfo, TagCompare> TagMaker::TagList
private

Definition at line 87 of file TagMaker.h.

Referenced by create_base_tag().


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