Commit 3777a2ee authored by snuverink_j's avatar snuverink_j
Browse files

remove unused private member; some cleaning

parent b8fe4db5
......@@ -63,7 +63,6 @@ static void erfRoot(double x, double *fn, double *df) {
EnvelopeBunch::EnvelopeBunch(const PartData *ref):
PartBunch(ref),
reference(ref),
numSlices_m(0),
numMySlices_m(0) {
......@@ -74,18 +73,9 @@ EnvelopeBunch::EnvelopeBunch(const PartData *ref):
}
// EnvelopeBunch::EnvelopeBunch(const EnvelopeBunch &rhs):
// PartBunch(rhs),
// reference(rhs.reference),
// numSlices_m(0),
// numMySlices_m(0)
// {}
EnvelopeBunch::EnvelopeBunch(const std::vector<OpalParticle> &rhs,
const PartData *ref):
PartBunch(ref),
reference(ref),
numSlices_m(0),
numMySlices_m(0)
{}
......
......@@ -324,8 +324,6 @@ public:
private:
const PartData *reference;
/// number of total slices in bunch
int numSlices_m;
/// number of my slices in bunch
......
......@@ -49,8 +49,6 @@
//#define DBG_SCALARFIELD
//#define FIELDSTDOUT
// using namespace std;
// Class PartBunch
// ------------------------------------------------------------------------
......@@ -61,14 +59,6 @@ PartBunch::PartBunch(const PartData *ref): // Layout is set using setSolver()
}
// PartBunch::PartBunch(const PartBunch &rhs):
// PartBunchBase<double, 3>(rhs),
// interpolationCacheSet_m(rhs.interpolationCacheSet_m)
// {
// ERRORMSG("should not be here: PartBunch::PartBunch(const PartBunch &rhs):" << endl);
// std::exit(0);
// }
PartBunch::~PartBunch() {
......
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