OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::RealSphericalHarmonic Class Reference

Public Member Functions

void setL (int theL)
 
int getL ()
 
void setM (int theM)
 
int getM ()
 
void setCoefficient (RealType co)
 
RealType getCoefficient ()
 
void setFunctionType (short int theType)
 
short int getFunctionType ()
 
void makeSinFunction ()
 
void makeCosFunction ()
 
bool isSinFunction ()
 
bool isCosFunction ()
 
RealType getValueAt (RealType costheta, RealType phi)
 

Protected Member Functions

RealType LegendreP (int l, int m, RealType x)
 

Protected Attributes

int L
 
int M
 
short int functionType
 
RealType coefficient
 

Detailed Description

Definition at line 62 of file RealSphericalHarmonic.hpp.

Constructor & Destructor Documentation

◆ RealSphericalHarmonic()

RealSphericalHarmonic::RealSphericalHarmonic ( )

Definition at line 53 of file RealSphericalHarmonic.cpp.

◆ ~RealSphericalHarmonic()

virtual OpenMD::RealSphericalHarmonic::~RealSphericalHarmonic ( )
inlinevirtual

Definition at line 65 of file RealSphericalHarmonic.hpp.

Member Function Documentation

◆ getCoefficient()

RealType OpenMD::RealSphericalHarmonic::getCoefficient ( )
inline

Definition at line 74 of file RealSphericalHarmonic.hpp.

◆ getFunctionType()

short int OpenMD::RealSphericalHarmonic::getFunctionType ( )
inline

Definition at line 77 of file RealSphericalHarmonic.hpp.

◆ getL()

int OpenMD::RealSphericalHarmonic::getL ( )
inline

Definition at line 68 of file RealSphericalHarmonic.hpp.

◆ getM()

int OpenMD::RealSphericalHarmonic::getM ( )
inline

Definition at line 71 of file RealSphericalHarmonic.hpp.

◆ getValueAt()

RealType RealSphericalHarmonic::getValueAt ( RealType costheta,
RealType phi )

Definition at line 55 of file RealSphericalHarmonic.cpp.

◆ isCosFunction()

bool OpenMD::RealSphericalHarmonic::isCosFunction ( )
inline

Definition at line 83 of file RealSphericalHarmonic.hpp.

◆ isSinFunction()

bool OpenMD::RealSphericalHarmonic::isSinFunction ( )
inline

Definition at line 82 of file RealSphericalHarmonic.hpp.

◆ LegendreP()

RealType RealSphericalHarmonic::LegendreP ( int l,
int m,
RealType x )
protected

Definition at line 85 of file RealSphericalHarmonic.cpp.

◆ makeCosFunction()

void OpenMD::RealSphericalHarmonic::makeCosFunction ( )
inline

Definition at line 80 of file RealSphericalHarmonic.hpp.

◆ makeSinFunction()

void OpenMD::RealSphericalHarmonic::makeSinFunction ( )
inline

Definition at line 79 of file RealSphericalHarmonic.hpp.

◆ setCoefficient()

void OpenMD::RealSphericalHarmonic::setCoefficient ( RealType co)
inline

Definition at line 73 of file RealSphericalHarmonic.hpp.

◆ setFunctionType()

void OpenMD::RealSphericalHarmonic::setFunctionType ( short int theType)
inline

Definition at line 76 of file RealSphericalHarmonic.hpp.

◆ setL()

void OpenMD::RealSphericalHarmonic::setL ( int theL)
inline

Definition at line 67 of file RealSphericalHarmonic.hpp.

◆ setM()

void OpenMD::RealSphericalHarmonic::setM ( int theM)
inline

Definition at line 70 of file RealSphericalHarmonic.hpp.

Member Data Documentation

◆ coefficient

RealType OpenMD::RealSphericalHarmonic::coefficient
protected

Definition at line 93 of file RealSphericalHarmonic.hpp.

◆ functionType

short int OpenMD::RealSphericalHarmonic::functionType
protected

Definition at line 92 of file RealSphericalHarmonic.hpp.

◆ L

int OpenMD::RealSphericalHarmonic::L
protected

Definition at line 90 of file RealSphericalHarmonic.hpp.

◆ M

int OpenMD::RealSphericalHarmonic::M
protected

Definition at line 91 of file RealSphericalHarmonic.hpp.


The documentation for this class was generated from the following files: