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: ...@@ -234,8 +234,8 @@ public:
globalTrackStep_m(0), globalTrackStep_m(0),
OPALdist_m(OPALdistribution), OPALdist_m(OPALdistribution),
OPALFieldSolver_m(OPALFieldSolver){ OPALFieldSolver_m(OPALFieldSolver){
Inform m("PartBunch() ");
Inform m("PartBunch() ");
static IpplTimings::TimerRef gatherInfoPartBunch = IpplTimings::getTimer("gatherInfoPartBunch"); static IpplTimings::TimerRef gatherInfoPartBunch = IpplTimings::getTimer("gatherInfoPartBunch");
IpplTimings::startTimer(gatherInfoPartBunch); IpplTimings::startTimer(gatherInfoPartBunch);
...@@ -267,9 +267,6 @@ public: ...@@ -267,9 +267,6 @@ public:
this->origin_m = -3.0; this->origin_m = -3.0;
this->dt_m = 0.5 / this->nr_m[2]; 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->setFieldContainer(std::make_shared<FieldContainer_t>(
this->hr_m, this->rmin_m, this->rmax_m, this->decomp_m, this->domain_m, this->origin_m, this->hr_m, this->rmin_m, this->rmax_m, this->decomp_m, this->domain_m, this->origin_m,
isAllPeriodic)); isAllPeriodic));
...@@ -448,8 +445,10 @@ public: ...@@ -448,8 +445,10 @@ public:
} }
double getGamma(int i) const { double getGamma(int i) const {
return 0.0;
} }
double getBeta(int i) const { double getBeta(int i) const {
return 0.0;
} }
void actT() { void actT() {
...@@ -486,6 +485,7 @@ public: ...@@ -486,6 +485,7 @@ public:
bool isGridFixed() { bool isGridFixed() {
return false;
} }
void boundp() { void boundp() {
...@@ -526,6 +526,7 @@ public: ...@@ -526,6 +526,7 @@ public:
} }
size_t calcNumPartsOutside(Vector_t<double, Dim> x) { size_t calcNumPartsOutside(Vector_t<double, Dim> x) {
return 0;
} }
void calcLineDensity( void calcLineDensity(
...@@ -536,6 +537,7 @@ public: ...@@ -536,6 +537,7 @@ public:
} }
Vector_t<double, Dim> getEExtrema() { Vector_t<double, Dim> getEExtrema() {
return Vector_t<double, Dim>(0);
} }
void computeSelfFields(); void computeSelfFields();
...@@ -548,15 +550,20 @@ public: ...@@ -548,15 +550,20 @@ public:
} }
bool getFieldSolverType() { bool getFieldSolverType() {
return false;
} }
bool getIfBeamEmitting() { bool getIfBeamEmitting() {
return false;
} }
int getLastEmittedEnergyBin() { int getLastEmittedEnergyBin() {
return 0;
} }
size_t getNumberOfEmissionSteps() { size_t getNumberOfEmissionSteps() {
return 0;
} }
int getNumberOfEnergyBins() { int getNumberOfEnergyBins() {
return 0;
} }
void Rebin() { 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