13 #ifndef ESYS_LSMGRAIN_H
14 #define ESYS_LSMGRAIN_H
16 #include "Geometry/ParticleCollection.h"
25 template <
typename TmplParticleCollection>
26 class Grain :
public TmplParticleCollection
29 typedef TmplParticleCollection Inherited;
30 typedef Inherited ParticleCollection;
31 typedef typename Inherited::Particle Particle;
32 typedef typename Inherited::ParticlePool ParticlePool;
33 typedef typename Inherited::ParticlePoolPtr ParticlePoolPtr;
34 typedef typename Inherited::ParticleIterator ParticleIterator;
35 typedef typename Inherited::ParticleConstIterator ParticleConstIterator;
42 Grain(ParticlePoolPtr particlePoolPtr);
44 Grain(Id
id, ParticlePoolPtr particlePoolPtr);
54 void setParticleIds(
typename Particle::Id minId);
62 #include "Geometry/Grain.hpp"