20 template <
typename TmplParticle>
26 template <
typename TmplParticle>
32 template <
typename TmplParticle>
35 return this->getParticleRadius();
38 template <
typename TmplParticle>
41 return this->getParticleRadius();
44 template <
typename TmplParticle>
48 return Particle(posn, getParticleRadius());
51 template <
typename TmplParticle>
55 const double &maxRadius
58 return getParticle(posn);
61 template <
typename TmplParticle>
63 const double &fitRadius
66 return (fitRadius == getParticleRadius());
71 template <
typename TmplParticle>
76 : m_minFitRadius(minFitRadius),
77 m_maxFitRadius(maxFitRadius)
81 template <
typename TmplParticle>
86 template <
typename TmplParticle>
89 return m_minFitRadius;
92 template <
typename TmplParticle>
95 return m_maxFitRadius;
98 template <
typename TmplParticle>
100 const double &fitRadius
105 (fitRadius >= this->getMinFitRadius())
107 (fitRadius <= this->getMaxFitRadius())
113 template <
typename TmplParticle>
117 ) :
Inherited(minFitRadius, maxFitRadius)
121 template <
typename TmplParticle>
125 this->getMinFitRadius()
127 (this->getMaxFitRadius()-this->getMinFitRadius())
132 template <
typename TmplParticle>
136 return Particle(posn, getRandomRadius());
139 template <
typename TmplParticle>
143 double suggestedRadius
146 return getParticle(posn);
151 template <
typename TmplGrain>
153 double minGrainRadius,
154 double maxGrainRadius
155 ) :
Inherited(minGrainRadius, maxGrainRadius)
159 template <
typename TmplGrain>
164 template <
typename TmplGrain>
167 return this->getMinFitRadius();
170 template <
typename TmplGrain>
173 return this->getMaxFitRadius();
180 template <
typename TmplGrain>
182 double minGrainRadius,
183 double maxGrainRadius
184 ) :
Inherited(minGrainRadius, maxGrainRadius)
188 template <
typename TmplGrain>
191 return this->getMinGrainRadius();
194 template <
typename TmplGrain>
197 return this->getMaxGrainRadius();
200 template <
typename TmplGrain>