SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | Private Attributes | List of all members
sirius::angular_momentum Class Reference

Angular momentum quantum number. More...

#include <radial_functions_index.hpp>

Public Member Functions

 angular_momentum (int l__)
 Constructor. More...
 
 angular_momentum (int l__, int s__)
 Constructor. More...
 
auto l () const
 Get orbital quantum number l. More...
 
auto j () const
 Get total angular momentum j = l +/- 1/2. More...
 
auto two_j () const
 Get twice the total angular momentum 2j = 2l +/- 1. More...
 
auto subshell_size () const
 The size of the subshell for the angular momentum l or j. More...
 
auto s () const
 Get spin quantum number s. More...
 

Private Attributes

int l_
 Orbital quantum number l. More...
 
int s_ {0}
 Spin quantum number in the units of 1/2. More...
 

Detailed Description

Angular momentum quantum number.

This class handles orbital or total angluar momentum quantum number.

Definition at line 48 of file radial_functions_index.hpp.

Constructor & Destructor Documentation

◆ angular_momentum() [1/2]

sirius::angular_momentum::angular_momentum ( int  l__)
inlineexplicit

Constructor.

Definition at line 63 of file radial_functions_index.hpp.

◆ angular_momentum() [2/2]

sirius::angular_momentum::angular_momentum ( int  l__,
int  s__ 
)
inlineexplicit

Constructor.

Definition at line 72 of file radial_functions_index.hpp.

Member Function Documentation

◆ l()

auto sirius::angular_momentum::l ( ) const
inline

Get orbital quantum number l.

Definition at line 88 of file radial_functions_index.hpp.

◆ j()

auto sirius::angular_momentum::j ( ) const
inline

Get total angular momentum j = l +/- 1/2.

Definition at line 94 of file radial_functions_index.hpp.

◆ two_j()

auto sirius::angular_momentum::two_j ( ) const
inline

Get twice the total angular momentum 2j = 2l +/- 1.

Definition at line 100 of file radial_functions_index.hpp.

◆ subshell_size()

auto sirius::angular_momentum::subshell_size ( ) const
inline

The size of the subshell for the angular momentum l or j.

This is the number of m_l values in the range [-l, l] or the number of m_j values in the range [-j, j]

Definition at line 108 of file radial_functions_index.hpp.

◆ s()

auto sirius::angular_momentum::s ( ) const
inline

Get spin quantum number s.

Definition at line 114 of file radial_functions_index.hpp.

Member Data Documentation

◆ l_

int sirius::angular_momentum::l_
private

Orbital quantum number l.

Definition at line 53 of file radial_functions_index.hpp.

◆ s_

int sirius::angular_momentum::s_ {0}
private

Spin quantum number in the units of 1/2.

This variable can have only three values: -1,0,1. It is used to consruct the total angular momentum j = l + s/2. In case s = 0 total agular momentum j = l (no level splitting).

Definition at line 58 of file radial_functions_index.hpp.


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