37 nSlices_m(right.nSlices_m)
virtual void visitDrift(const Drift &)=0
Apply the algorithm to a drift space.
Interface for a single beam element.
PartBunchBase< double, 3 > * RefPartBunch_m
Interface for drift space.
virtual bool bends() const override
virtual void finalise() override
virtual void getDimensions(double &zBegin, double &zEnd) const override
void setNSlices(const std::size_t &nSlices)
virtual void initialise(PartBunchBase< double, 3 > *bunch, double &startField, double &endField) override
virtual ElementType getType() const override
Get element type std::string.
virtual void accept(BeamlineVisitor &) const override
Apply visitor to Drift.
std::size_t getNSlices() const
virtual double getElementLength() const
Get design length.