00001 #ifndef SOU1D_CHEBYSHEV_H
00002 #define SOU1D_CHEBYSHEV_H
00003
00004 #include "soubase.h"
00005 #include "parametermap.h"
00006 #include "chebyshevpoly_expansion1d.h"
00007
00008 class CSourceFtn1dChebyshevPoly : public CChebyshevPolynomialExpansion1d, public CSourceFtnBase {
00009 public:
00010
00011 CSourceFtn1dChebyshevPoly(string p1 = "", string p2 = "",
00012 int l=0, int m=0, bool repart = true, int nc=10, double rmin=0., double rmax=50.) :
00013 CChebyshevPolynomialExpansion1d(l,m,repart,nc,rmin,rmax), CSourceFtnBase(p1,p2) {}
00014 CSourceFtn1dChebyshevPoly(const CSourceFtn1dChebyshevPoly& A) :
00015 CChebyshevPolynomialExpansion1d(A), CSourceFtnBase(A) {}
00016
00017
00018 bool Read(const parameterMap& s);
00019 bool Write(parameterMap& s);
00020
00021
00022 void CopyState(const CSourceFtn1dChebyshevPoly& A)
00023 {CChebyshevPolynomialExpansion1d::CopyState(A); CSourceFtnBase::CopyState(A);}
00024
00025 };
00026
00027 #endif