virtual void visitPatch(const Patch &)=0
Apply the algorithm to a patch.
virtual void getDimensions(double &zBegin, double &zEnd) const override
virtual void initialise(PartBunchBase< double, 3 > *bunch, double &startField, double &endField) override
PartBunchBase< double, 3 > * RefPartBunch_m
virtual ElementBase::ElementType getType() const override
Get element type std::string.
virtual void accept(BeamlineVisitor &) const override
Apply visitor to patch.
virtual bool bends() const override
virtual void finalise() override
Interface for a geometric patch.
Interface for a single beam element.