Skip to content

Commit

Permalink
add crude getFlux() to Spergelet
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeyers314 committed Feb 26, 2015
1 parent 0efcfb0 commit 57852e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/galsim/SBSpergeletImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ namespace galsim {
double xValue(const Position<double>& p) const
{ throw SBError("SBSpergelet::shoot() is not implemented"); }

double getFlux() const
{ return 1.0; }

std::complex<double> kValue(const Position<double>& k) const;

double maxK() const;
Expand Down

0 comments on commit 57852e6

Please sign in to comment.