ATC version 2.0, date: Aug28
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10695 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -562,7 +562,7 @@ Tv(0) = 300.;
|
||||
int ConcentrationRegulatorMethodTransition::pick_element() const
|
||||
{
|
||||
double r = uniform();
|
||||
ESET::iterator itr = elemset_.begin(); // global?
|
||||
ESET::const_iterator itr = elemset_.begin(); // global?
|
||||
for (int i = 0; i < volumes_.size() ; ++i) {
|
||||
if (r < volumes_(i)) return *itr;
|
||||
itr++;
|
||||
|
||||
Reference in New Issue
Block a user