Template PIC bunch: IPPL PicManager, shared field mesh/solver, and multiple particle containers.
virtual void visitDrift(const Drift &)=0
Apply the algorithm to a drift space.
PartBunch_t * RefPartBunch_m
Interface for drift space.
virtual bool bends() const override
virtual void finalise() override
virtual void getFieldExtend(double &zBegin, double &zEnd) const override
Return the field-support extent of the component.
virtual void initialise(PartBunch_t *bunch, double &startField, double &endField) override
void setNSlices(const std::size_t &nSlices)
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.