Legendre Class Reference

#include <orsa_interaction.h>

List of all members.

Public Member Functions

 Legendre (const double arg)

Public Attributes

const double P2
const double dP2
const double P3
const double dP3
const double P4
const double dP4
const double P22
const double dP22
const double P31
const double dP31
const double P32
const double dP32
const double P33
const double dP33
const double P41
const double dP41
const double P42
const double dP42
const double P43
const double dP43
const double P44
const double dP44


Detailed Description

Definition at line 212 of file orsa_interaction.h.


Constructor & Destructor Documentation

Legendre ( const double  arg  )  [inline]

Definition at line 214 of file orsa_interaction.h.

00214                                :
00215       x(arg), x2(x*x), x3(x2*x), x4(x3*x), tmp1(1.0-x2), tmp2(std::sqrt(tmp1)), tmp3(-x/tmp2),
00216       P2(0.5*(3.0*x2-1.0)),dP2(3.0*x),
00217       P3(0.5*(5.0*x3-3.0*x)),dP3(0.5*(15.0*x2-3.0)),
00218       P4(0.125*(35.0*x4-30.0*x2+3.0)),dP4(0.125*(140.0*x3-60.0*x)),
00219       P22(3.0*tmp1),dP22(-6.0*x),
00220       P31(1.5*(1.0-5.0*x2)*tmp2),dP31(1.5*(-10.0*x*tmp2+(1.0-5.0*x2)*tmp3)),
00221       P32(15.0*x*tmp1),dP32(15.0-45.0*x2),
00222       P33(-15.0*tmp1*tmp2),dP33(-15.0*(-2.0*x*tmp2+tmp1*tmp3)),
00223       P41(2.5*x*(3.0-7.0*x2)*tmp2),dP41(2.5*((3.0-21.0*x2)*tmp2+x*(3.0-7.0*x2)*tmp3)),
00224       P42(7.5*(7.0*x2-1.0)*tmp1),dP42(7.5*(14.0*x*tmp1-14.0*x3+2.0*x)),
00225       P43(-105.0*x*tmp1*tmp2),dP43(-105.0*(tmp1*tmp2-2*x2*tmp2+x*tmp1*tmp3)),
00226       P44(105.0*tmp1*tmp1),dP44(-420.0*x*tmp1)
00227       { }
      


Member Data Documentation

const double dP2

Definition at line 234 of file orsa_interaction.h.

const double dP22

Definition at line 235 of file orsa_interaction.h.

const double dP3

Definition at line 234 of file orsa_interaction.h.

const double dP31

Definition at line 235 of file orsa_interaction.h.

const double dP32

Definition at line 235 of file orsa_interaction.h.

const double dP33

Definition at line 235 of file orsa_interaction.h.

const double dP4

Definition at line 234 of file orsa_interaction.h.

const double dP41

Definition at line 235 of file orsa_interaction.h.

const double dP42

Definition at line 235 of file orsa_interaction.h.

const double dP43

Definition at line 235 of file orsa_interaction.h.

const double dP44

Definition at line 235 of file orsa_interaction.h.

const double P2

Definition at line 234 of file orsa_interaction.h.

const double P22

Definition at line 235 of file orsa_interaction.h.

const double P3

Definition at line 234 of file orsa_interaction.h.

const double P31

Definition at line 235 of file orsa_interaction.h.

const double P32

Definition at line 235 of file orsa_interaction.h.

const double P33

Definition at line 235 of file orsa_interaction.h.

const double P4

Definition at line 234 of file orsa_interaction.h.

const double P41

Definition at line 235 of file orsa_interaction.h.

const double P42

Definition at line 235 of file orsa_interaction.h.

const double P43

Definition at line 235 of file orsa_interaction.h.

const double P44

Definition at line 235 of file orsa_interaction.h.


The documentation for this class was generated from the following file:
Generated on Thu Jul 13 06:46:17 2006 for liborsa by  doxygen 1.4.7