ESyS-Particle  2.3.4
esys::lsm::Grain< TmplParticleCollection > Class Template Reference

#include <Grain.h>

Inheritance diagram for esys::lsm::Grain< TmplParticleCollection >:
Collaboration diagram for esys::lsm::Grain< TmplParticleCollection >:

Public Types

typedef TmplParticleCollection Inherited
 
typedef Inherited ParticleCollection
 
typedef Inherited::Particle Particle
 
typedef Inherited::ParticlePool ParticlePool
 
typedef Inherited::ParticlePoolPtr ParticlePoolPtr
 
typedef Inherited::ParticleIterator ParticleIterator
 
typedef Inherited::ParticleConstIterator ParticleConstIterator
 
typedef long Id
 

Public Member Functions

 Grain ()
 
 Grain (Id id)
 
 Grain (ParticlePoolPtr particlePoolPtr)
 
 Grain (Id id, ParticlePoolPtr particlePoolPtr)
 
 Grain (const Grain &g)
 
Grainoperator= (const Grain &g)
 
Id getId () const
 
void setId (Id id)
 
void setParticleIds (typename Particle::Id minId)
 

Private Attributes

Id m_id
 

Member Typedef Documentation

◆ Id

template<typename TmplParticleCollection >
typedef long esys::lsm::Grain< TmplParticleCollection >::Id

◆ Inherited

template<typename TmplParticleCollection >
typedef TmplParticleCollection esys::lsm::Grain< TmplParticleCollection >::Inherited

◆ Particle

template<typename TmplParticleCollection >
typedef Inherited::Particle esys::lsm::Grain< TmplParticleCollection >::Particle

◆ ParticleCollection

template<typename TmplParticleCollection >
typedef Inherited esys::lsm::Grain< TmplParticleCollection >::ParticleCollection

◆ ParticleConstIterator

template<typename TmplParticleCollection >
typedef Inherited::ParticleConstIterator esys::lsm::Grain< TmplParticleCollection >::ParticleConstIterator

◆ ParticleIterator

template<typename TmplParticleCollection >
typedef Inherited::ParticleIterator esys::lsm::Grain< TmplParticleCollection >::ParticleIterator

◆ ParticlePool

template<typename TmplParticleCollection >
typedef Inherited::ParticlePool esys::lsm::Grain< TmplParticleCollection >::ParticlePool

◆ ParticlePoolPtr

template<typename TmplParticleCollection >
typedef Inherited::ParticlePoolPtr esys::lsm::Grain< TmplParticleCollection >::ParticlePoolPtr

Constructor & Destructor Documentation

◆ Grain() [1/5]

template<typename TmplParticleCollection >
esys::lsm::Grain< TmplParticleCollection >::Grain

◆ Grain() [2/5]

template<typename TmplParticleCollection >
esys::lsm::Grain< TmplParticleCollection >::Grain ( Id  id)

◆ Grain() [3/5]

template<typename TmplParticleCollection >
esys::lsm::Grain< TmplParticleCollection >::Grain ( ParticlePoolPtr  particlePoolPtr)

◆ Grain() [4/5]

template<typename TmplParticleCollection >
esys::lsm::Grain< TmplParticleCollection >::Grain ( Id  id,
ParticlePoolPtr  particlePoolPtr 
)

◆ Grain() [5/5]

template<typename TmplParticleCollection >
esys::lsm::Grain< TmplParticleCollection >::Grain ( const Grain< TmplParticleCollection > &  g)

Member Function Documentation

◆ getId()

template<typename TmplParticleCollection >
Grain< TmplParticleCollection >::Id esys::lsm::Grain< TmplParticleCollection >::getId

Referenced by esys::lsm::Grain< TmplParticleCollection >::operator=().

Here is the caller graph for this function:

◆ operator=()

template<typename TmplParticleCollection >
Grain< TmplParticleCollection > & esys::lsm::Grain< TmplParticleCollection >::operator= ( const Grain< TmplParticleCollection > &  g)

References esys::lsm::Grain< TmplParticleCollection >::getId().

Here is the call graph for this function:

◆ setId()

template<typename TmplParticleCollection >
void esys::lsm::Grain< TmplParticleCollection >::setId ( Id  id)

◆ setParticleIds()

template<typename TmplParticleCollection >
void esys::lsm::Grain< TmplParticleCollection >::setParticleIds ( typename Particle::Id  minId)

Member Data Documentation

◆ m_id

template<typename TmplParticleCollection >
Id esys::lsm::Grain< TmplParticleCollection >::m_id
private

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