Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 6f9b7e49 authored by Sadr Mohsen's avatar Sadr Mohsen
Browse files

minor changes - still crashes on gpu with O3

parent 109bc72c
No related branches found
No related tags found
No related merge requests found
......@@ -234,8 +234,8 @@ public:
globalTrackStep_m(0),
OPALdist_m(OPALdistribution),
OPALFieldSolver_m(OPALFieldSolver){
Inform m("PartBunch() ");
Inform m("PartBunch() ");
static IpplTimings::TimerRef gatherInfoPartBunch = IpplTimings::getTimer("gatherInfoPartBunch");
IpplTimings::startTimer(gatherInfoPartBunch);
......@@ -267,9 +267,6 @@ public:
this->origin_m = -3.0;
this->dt_m = 0.5 / this->nr_m[2];
using ParticleContainer_t = ParticleContainer<T, Dim>;
using FieldContainer_t = FieldContainer<T, Dim>;
this->setFieldContainer(std::make_shared<FieldContainer_t>(
this->hr_m, this->rmin_m, this->rmax_m, this->decomp_m, this->domain_m, this->origin_m,
isAllPeriodic));
......@@ -448,8 +445,10 @@ public:
}
double getGamma(int i) const {
return 0.0;
}
double getBeta(int i) const {
return 0.0;
}
void actT() {
......@@ -486,6 +485,7 @@ public:
bool isGridFixed() {
return false;
}
void boundp() {
......@@ -526,6 +526,7 @@ public:
}
size_t calcNumPartsOutside(Vector_t<double, Dim> x) {
return 0;
}
void calcLineDensity(
......@@ -536,6 +537,7 @@ public:
}
Vector_t<double, Dim> getEExtrema() {
return Vector_t<double, Dim>(0);
}
void computeSelfFields();
......@@ -548,15 +550,20 @@ public:
}
bool getFieldSolverType() {
return false;
}
bool getIfBeamEmitting() {
return false;
}
int getLastEmittedEnergyBin() {
return 0;
}
size_t getNumberOfEmissionSteps() {
return 0;
}
int getNumberOfEnergyBins() {
return 0;
}
void Rebin() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment