Commit 4b7df8f4 by Francois Gygi

added natoms_

git-svn-id: cba15fb0-1239-40c8-b417-11db7ca47a34
parent 55a6fe5e
......@@ -31,8 +31,9 @@ class IonicStepper
Sample& s_;
AtomSet& atoms_;
ConstraintSet& constraints_;
double dt_;
int nsp_;
double dt_;
int nsp_;
int natoms_;
// ndofs_ is the total number of degrees of freedom after
// constraints are considered
int ndofs_;
......@@ -66,6 +67,7 @@ class IonicStepper
pmass_[is] = atoms_.species_list[is]->mass() * 1822.89;
natoms_ = atoms_.size();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment