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