1 #ifndef CLASSIC_SOURCE_HH
2 #define CLASSIC_SOURCE_HH
9 template <
class T,
unsigned Dim>
36 virtual bool bends()
const override;
38 virtual void goOnline(
const double &kineticEnergy)
override;
44 virtual void getDimensions(
double &zBegin,
double &zEnd)
const override;
57 #endif // CLASSIC_SOURCE_HH
virtual void getDimensions(double &zBegin, double &zEnd) const override
virtual void goOnline(const double &kineticEnergy) override
virtual bool apply(const size_t &i, const double &t, Vector_t &E, Vector_t &B) override
virtual bool bends() const override
virtual void initialise(PartBunchBase< double, 3 > *bunch, double &startField, double &endField) override
void operator=(const Source &)
virtual void addKR(int i, double t, Vector_t &K) override
ENVELOPE COMPONENT for radial focussing of the beam Calculates the transverse envelope component for ...
virtual ElementBase::ElementType getType() const override
Get element type std::string.
virtual void addKT(int i, double t, Vector_t &K) override
std::unique_ptr< LossDataSink > lossDs_m
virtual void finalise() override
Interface for a single beam element.
virtual void accept(BeamlineVisitor &) const override
Apply visitor to Source.
virtual void goOffline() override