Skip to content

Commit

Permalink
Update RectangularWaveguide as in develop.
Browse files Browse the repository at this point in the history
  • Loading branch information
pslocum committed Jun 28, 2023
1 parent 7e169fc commit 0a71d1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Fields/LMCRectangularWaveguide.cc
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ namespace locust
}


std::vector<double> RectangularWaveguide::GetNormalizedModeField(int l, int m, int n, std::vector<double> tKassParticleXP, bool includeOtherPols)
std::vector<double> RectangularWaveguide::GetNormalizedModeField(int l, int m, int n, std::vector<double> tKassParticleXP, bool includeOtherPols, bool bTE)
{
// The l index is inert in the waveguide.
double tX = tKassParticleXP[0] * cos(tKassParticleXP[1]);
Expand Down
2 changes: 1 addition & 1 deletion Source/Fields/LMCRectangularWaveguide.hh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace locust
virtual double Z_TM(int l, int m, int n, double fcyc) const;
virtual double Integrate(int l, int m, int n, bool teMode, bool eField);
virtual std::vector<double> GetDopplerFrequency(int l, int m, int n, std::vector<double> tKassParticleXP);
virtual std::vector<double> GetNormalizedModeField(int l, int m, int n, std::vector<double> tKassParticleXP, bool includeOtherPols);
virtual std::vector<double> GetNormalizedModeField(int l, int m, int n, std::vector<double> tKassParticleXP, bool includeOtherPols, bool bTE);
virtual std::vector<std::vector<std::vector<double>>> CalculateNormFactors(int nModes, bool bTE);
virtual double CalculateDotProductFactor(int l, int m, int n, std::vector<double> tKassParticleXP, std::vector<double> anE_normalized, double tThisEventNSamples);
virtual double GetDotProductFactor(std::vector<double> tKassParticleXP, std::vector<double> aTE_E_normalized, bool IntermediateFile);
Expand Down

0 comments on commit 0a71d1b

Please sign in to comment.