CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

GenericFunctions/SphericalNeumann.hh
Go to the documentation of this file.
1 // -*- C++ -*-
2 // $Id: SphericalNeumann.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3 //---------------------SphericalNeumann-------------------------------------//
4 // //
5 // Class SphericalNeumann. An spherical neumann function of integral order //
6 // Joe Boudreau, Petar Maksimovic, January 2000 //
7 // //
8 //--------------------------------------------------------------------------//
9 #ifndef SphericalNeumann_h
10 #define SphericalNeumann_h 1
13 namespace Genfun {
14 
19  class SphericalNeumann : public AbsFunction {
20 
22 
23  public:
24 
25  // Constructor
26  SphericalNeumann(unsigned int l);
27 
28  // Copy constructor
29  SphericalNeumann(const SphericalNeumann &right);
30 
31  // Destructor
32  virtual ~SphericalNeumann();
33 
34  // Retreive function value
35  virtual double operator ()(double argument) const;
36  virtual double operator ()(const Argument & a) const {return operator() (a[0]);}
37 
38  // Get the integer variable l
39  unsigned int l() const;
40 
41  private:
42 
43  // It is illegal to assign a spherical neumann
44  const SphericalNeumann & operator=(const SphericalNeumann &right);
45 
46  // Here is the index
47  unsigned int _l;
48 
49  };
50 } // namespace Genfun
51 #include "CLHEP/GenericFunctions/SphericalNeumann.icc"
52 #endif
#define FUNCTION_OBJECT_DEF(classname)
unsigned int l() const
virtual double operator()(double argument) const
SphericalNeumann(unsigned int l)