Ignore:
Timestamp:
Oct 12, 2008, 7:11:59 PM (17 years ago)
Author:
ansari
Message:

Adapation suite suppression flag OS_MACOSX, OS_LINUX + modifs cosmetiques lambdaBuilder.h .cc Reza 12/10/2008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Samba/lambdaBuilder.h

    r2958 r3533  
    66#include "tvector.h"
    77#include "alm.h"
     8#include "pexceptions.h"
    89
    910
    1011namespace SOPHYA {
    1112
    12 /*!  classe pour les polynomes de legendre*/
     13/*!  class of Legendre polynomials  */
    1314class Legendre {
     15public :
     16  Legendre(r_8 x, int_4 lmax);
    1417
    15  public :
    16 Legendre(r_8 x, int_4 lmax);
     18  inline r_8 getPl(int_4 l) const
     19  {
     20  if (l>lmax_)  {
     21    throw RangeCheckError("Legendre::getPl(l) l>lmax -> Instanciate class with greater lmax ...");
     22  }
     23  return Pl_(l);
     24  }
    1725
    18 inline r_8 getPl(int_4 l) const
    19 {
    20   if (l>lmax_)
    21     {
    22       throw (" illegal call of Legendre::getPl with index greater than lmax, which Legendre Class was instanciated with : instanciate Legendre with a greater lmax... ");
    23     }
    24 return Pl_(l);
    25 }
     26private :
     27  Legendre() {;}   // this is forbidden
    2628
    27 
    28  private :
    29 
    30 Legendre() {;}
    31 
    32 void array_init(int_4 lmax);
     29  void array_init(int_4 lmax);
    3330
    3431  r_8 x_;
     
    3936
    4037
    41  class LambdaLMBuilder {
     38class LambdaLMBuilder {
    4239
    43  public:
     40public:
    4441
    4542LambdaLMBuilder() {}
     
    103100
    104101
    105 
    106102class LambdaWXBuilder : public LambdaLMBuilder
    107103{
    108  public:
     104public:
    109105
    110106
Note: See TracChangeset for help on using the changeset viewer.