Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
core::io::nmr::ParaIon Class Reference

#include <ParaIon.hh>

Public Member Functions

 ParaIon ()
 default constructor More...
 
 ParaIon (std::string const &label, Real const charge, Real const s, Real const l, Real const j, Real const gj, Real const te)
 constructor with arguments More...
 
 ParaIon (ParaIon const &src)
 copy constructor More...
 
ParaIonoperator= (ParaIon const &src)
 assignment operator More...
 
 ~ParaIon ()
 destructor More...
 
std::string get_ion_label () const
 Setters and Getters. More...
 
Real get_charge () const
 
Real get_S () const
 
Real get_L () const
 
Real get_J () const
 
Real get_gJ () const
 
Real get_tau_e () const
 
void set_ion_label (std::string const &label)
 
void set_charge (Real charge)
 
void set_S (Real s)
 
void set_L (Real l)
 
void set_J (Real j)
 
void set_gJ (Real gj)
 
void set_tau_e (Real te)
 
void calc_gJ ()
 calculate Lande g-factor More...
 
void show (std::ostream &out) const
 output ParaIon data More...
 

Private Attributes

std::string ion_label_
 label of metal ion More...
 
Real charge_
 charge of metal ion More...
 
Real S_
 spin quantum number More...
 
Real L_
 orbital quantum number More...
 
Real J_
 total quantum number More...
 
Real gJ_
 Lande g-factor. More...
 
Real tau_e_
 electron relaxation time (10-12 s) More...
 

Constructor & Destructor Documentation

core::io::nmr::ParaIon::ParaIon ( )

default constructor

core::io::nmr::ParaIon::ParaIon ( std::string const &  label,
Real const  charge,
Real const  s,
Real const  l,
Real const  j,
Real const  gj,
Real const  te 
)

constructor with arguments

core::io::nmr::ParaIon::ParaIon ( ParaIon const &  src)

copy constructor

Make a deep copy of this mover object

core::io::nmr::ParaIon::~ParaIon ( )

destructor

Member Function Documentation

void core::io::nmr::ParaIon::calc_gJ ( )

calculate Lande g-factor

References gJ_, J_, L_, and S_.

Real core::io::nmr::ParaIon::get_charge ( ) const
inline

References charge_.

Real core::io::nmr::ParaIon::get_gJ ( ) const
inline

References gJ_.

std::string core::io::nmr::ParaIon::get_ion_label ( ) const
inline

Setters and Getters.

References ion_label_.

Real core::io::nmr::ParaIon::get_J ( ) const
inline

References J_.

Real core::io::nmr::ParaIon::get_L ( ) const
inline

References L_.

Real core::io::nmr::ParaIon::get_S ( ) const
inline

References S_.

Real core::io::nmr::ParaIon::get_tau_e ( ) const
inline

References tau_e_.

ParaIon & core::io::nmr::ParaIon::operator= ( ParaIon const &  src)

assignment operator

Make a deep copy of this mover object

References charge_, gJ_, ion_label_, J_, L_, S_, and tau_e_.

void core::io::nmr::ParaIon::set_charge ( Real  charge)
inline

References charge_.

void core::io::nmr::ParaIon::set_gJ ( Real  gj)
inline

References gJ_.

void core::io::nmr::ParaIon::set_ion_label ( std::string const &  label)
inline

References ion_label_.

void core::io::nmr::ParaIon::set_J ( Real  j)
inline

References J_.

void core::io::nmr::ParaIon::set_L ( Real  l)
inline

References L_.

void core::io::nmr::ParaIon::set_S ( Real  s)
inline

References S_.

void core::io::nmr::ParaIon::set_tau_e ( Real  te)
inline

References tau_e_.

void core::io::nmr::ParaIon::show ( std::ostream &  out) const

output ParaIon data

output ion data

References gJ_, ion_label_, J_, L_, S_, and tau_e_.

Member Data Documentation

Real core::io::nmr::ParaIon::charge_
private

charge of metal ion

Referenced by get_charge(), operator=(), and set_charge().

Real core::io::nmr::ParaIon::gJ_
private

Lande g-factor.

Referenced by calc_gJ(), get_gJ(), operator=(), set_gJ(), and show().

std::string core::io::nmr::ParaIon::ion_label_
private

label of metal ion

Referenced by get_ion_label(), operator=(), set_ion_label(), and show().

Real core::io::nmr::ParaIon::J_
private

total quantum number

Referenced by calc_gJ(), get_J(), operator=(), set_J(), and show().

Real core::io::nmr::ParaIon::L_
private

orbital quantum number

Referenced by calc_gJ(), get_L(), operator=(), set_L(), and show().

Real core::io::nmr::ParaIon::S_
private

spin quantum number

Referenced by calc_gJ(), get_S(), operator=(), set_S(), and show().

Real core::io::nmr::ParaIon::tau_e_
private

electron relaxation time (10-12 s)

Referenced by get_tau_e(), operator=(), set_tau_e(), and show().


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