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 23ffeb5d authored by snuverink_j's avatar snuverink_j
Browse files

code cleaning (no need to declare virtual methods again, and list was not complete)

parent de057261
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,8 @@ class CyclotronWrapper;
class BeamBeam;
class CCollimator;
class Corrector;
class Cyclotron;
class CyclotronValley;
class Degrader;
class Diagnostic;
class Drift;
......@@ -51,27 +53,25 @@ class MultipoleTStraight;
class MultipoleTCurvedConstRadius;
class MultipoleTCurvedVarRadius;
class Offset;
class ParallelPlate;
class Patch;
class Probe;
class RBend;
class RBend3D;
class RFCavity;
class VariableRFCavity;
class VariableRFCavityFringeField;
class TravelingWave;
class RFQuadrupole;
class Ring;
class SBend;
class SBend3D;
class ScalingFFAGMagnet;
class Cyclotron;
class Separator;
class Septum;
class Solenoid;
class Source;
class ParallelPlate;
class CyclotronValley;
class Stripper;
class Ring;
class TravelingWave;
class VariableRFCavity;
class VariableRFCavityFringeField;
// Integrators.
class Integrator;
......
......@@ -69,77 +69,6 @@ public:
/// Reset the full map for restart.
virtual void setMap(const FVps<double, 6> &) = 0;
/// Apply the algorithm to a beam-beam.
virtual void visitBeamBeam(const BeamBeam &) = 0;
/// Apply the algorithm to a collimator.
virtual void visitCCollimator(const CCollimator &) = 0;
/// Apply the algorithm to an arbitrary component.
virtual void visitComponent(const Component &) = 0;
/// Apply the algorithm to a corrector.
virtual void visitCorrector(const Corrector &) = 0;
/// Apply the algorithm to a diagnostic.
virtual void visitDegrader(const Degrader &) = 0;
/// Apply the algorithm to a diagnostic.
virtual void visitDiagnostic(const Diagnostic &) = 0;
/// Apply the algorithm to a drift.
virtual void visitDrift(const Drift &) = 0;
/// Apply the algorithm to a flexible collimator
virtual void visitFlexibleCollimator(const FlexibleCollimator &) = 0;
/// Apply the algorithm to a Lambertson.
virtual void visitLambertson(const Lambertson &) = 0;
/// Apply the algorithm to a marker.
virtual void visitMarker(const Marker &) = 0;
/// Apply the algorithm to a monitor.
virtual void visitMonitor(const Monitor &) = 0;
/// Apply the algorithm to a multipole.
virtual void visitMultipole(const Multipole &) = 0;
/// Apply the algorithm to a patch.
virtual void visitPatch(const Patch &pat) = 0;
/// Apply the algorithm to a probe.
virtual void visitProbe(const Probe &prob) = 0;
/// Apply the algorithm to a rectangular bend.
virtual void visitRBend(const RBend &) = 0;
/// Apply the algorithm to a RF cavity.
virtual void visitRFCavity(const RFCavity &) = 0;
/// Apply the algorithm to a RF quadrupole.
virtual void visitRFQuadrupole(const RFQuadrupole &) = 0;
/// Apply the algorithm to a sector bend.
virtual void visitSBend(const SBend &) = 0;
/// Apply the algorithm to a separator.
virtual void visitSeparator(const Separator &) = 0;
/// Apply the algorithm to a septum.
virtual void visitSeptum(const Septum &) = 0;
/// Apply the algorithm to a solenoid.
virtual void visitSolenoid(const Solenoid &) = 0;
/// Apply the algorithm to a ParallelPlate.
virtual void visitParallelPlate(const ParallelPlate &) = 0;
/// Apply the algorithm to a CyclotronValley.
virtual void visitCyclotronValley(const CyclotronValley &) = 0;
protected:
/// Construct the vector potential for a Multipole.
......
......@@ -48,79 +48,6 @@ public:
virtual ~AbstractTracker();
/// Apply the algorithm to a beam-beam.
virtual void visitBeamBeam(const BeamBeam &) = 0;
/// Apply the algorithm to a collimator.
virtual void visitCCollimator(const CCollimator &) = 0;
/// Apply the algorithm to an arbitrary component.
virtual void visitComponent(const Component &) = 0;
/// Apply the algorithm to a corrector.
virtual void visitCorrector(const Corrector &) = 0;
/// Apply the algorithm to a diagnostic.
virtual void visitDiagnostic(const Diagnostic &) = 0;
/// Apply the algorithm to a drift.
virtual void visitDegrader(const Degrader &) = 0;
/// Apply the algorithm to a drift.
virtual void visitDrift(const Drift &) = 0;
/// Apply the algorithm to a flexible collimator
virtual void visitFlexibleCollimator(const FlexibleCollimator &) = 0;
/// Apply the algorithm to a Lambertson.
virtual void visitLambertson(const Lambertson &) = 0;
/// Apply the algorithm to a marker.
virtual void visitMarker(const Marker &) = 0;
/// Apply the algorithm to a monitor.
virtual void visitMonitor(const Monitor &) = 0;
/// Apply the algorithm to a multipole.
virtual void visitMultipole(const Multipole &) = 0;
/// Apply the algorithm to a patch.
virtual void visitPatch(const Patch &pat) = 0;
/// Apply the algorithm to a probe.
virtual void visitProbe(const Probe &prob) = 0;
/// Apply the algorithm to a rectangular bend.
virtual void visitRBend(const RBend &) = 0;
/// Apply the algorithm to a RF cavity.
virtual void visitRFCavity(const RFCavity &) = 0;
/// Apply the algorithm to a RF quadrupole.
virtual void visitRFQuadrupole(const RFQuadrupole &) = 0;
/// Apply the algorithm to a sector bend.
virtual void visitSBend(const SBend &) = 0;
/// Apply the algorithm to a separator.
virtual void visitSeparator(const Separator &) = 0;
/// Apply the algorithm to a septum.
virtual void visitSeptum(const Septum &) = 0;
/// Apply the algorithm to a solenoid.
virtual void visitSolenoid(const Solenoid &) = 0;
/// Apply the algorithm to a ParallelPlate.
virtual void visitParallelPlate(const ParallelPlate &) = 0;
/// Apply the algorithm to a CyclotronValley.
virtual void visitCyclotronValley(const CyclotronValley &) = 0;
/// Apply the algorithm to an align wrapper..
virtual void visitAlignWrapper(const AlignWrapper &) = 0;
protected:
/// The reference information.
......
......@@ -101,12 +101,12 @@ void OrbitTracker::visitDegrader(const Degrader &deg) {
}
void OrbitTracker::visitParallelPlate(const ParallelPlate &pplate) {
//do nothing in obittracker.
//do nothing in orbittracker.
}
void OrbitTracker::visitCyclotronValley(const CyclotronValley &cv) {
//do nothing in obittracker.
//do nothing in orbittracker.
}
void OrbitTracker::visitComponent(const Component &comp) {
......
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