17 #ifndef CSRWAKEFUNCTION_HH
18 #define CSRWAKEFUNCTION_HH
31 CSRWakeFunction(
const std::string &
name, std::vector<Filter *> filters,
const unsigned int &N);
37 virtual const std::string
getType()
const;
44 double calcPsi(
const double &psiInitial,
const double &x,
const double &Ds)
const;
void calculateLineDensity(PartBunchBase< double, 3 > *bunch, std::pair< double, double > &meshInfo)
void calculateContributionAfter(size_t sliceNumber, double angleOfSlice, double meshSpacing)
virtual const std::string getType() const
LineDensity dlineDensitydz_m
double calcPsi(const double &psiInitial, const double &x, const double &Ds) const
void calculateContributionInside(size_t sliceNumber, double angleOfSlice, double meshSpacing)
std::vector< double > Ez_m
std::vector< Filter * > filters_m
std::vector< double > Psi_m
void initialize(const ElementBase *ref)
CSRWakeFunction(const std::string &name, std::vector< Filter * > filters, const unsigned int &N)
LineDensity lineDensity_m
std::shared_ptr< Filter > defaultFilter_m
void apply(PartBunchBase< double, 3 > *bunch)