Commit c91382f6 by Francois Gygi

removed unused np012_ member

git-svn-id: http://qboxcode.org/svn/qb/trunk@1691 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 1a5d13d0
......@@ -33,7 +33,6 @@ BasisMapping::BasisMapping (const Basis &basis) : basis_(basis)
np0_ = basis.np(0);
np1_ = basis.np(1);
np2_ = basis.np(2);
np012_ = np0_ * np1_ * np2_;
np2_loc_.resize(nprocs_);
np2_first_.resize(nprocs_);
......
......@@ -31,7 +31,7 @@ class BasisMapping
const Basis& basis_;
int nprocs_, myproc_;
int np0_, np1_, np2_, np012_, np012loc_;
int np0_, np1_, np2_, np012loc_;
int nvec_;
std::vector<int> np2_loc_; // np2_loc_[iproc], iproc=0, nprocs_-1
......@@ -50,7 +50,6 @@ class BasisMapping
int np1(void) const { return np1_; }
int np2(void) const { return np2_; }
int np2loc(void) const { return np2_loc_[myproc_]; }
int np012(void) const { return np012_; }
int np012loc(void) const { return np012loc_; }
int nvec(void) const { return nvec_; }
int zvec_size(void) const { return nvec_ * np2_; }
......
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