MPQC  3.0.0-alpha
sc::OneBodyOperSet Struct Reference

Describes sets of one-body operator. More...

#include <chemistry/qc/basis/operator.h>

Public Types

enum  type {
  S =0, T =1, V =2, h =3,
  mu =4, q =5, phi =6, dphi =7,
  ddphi =8, pVp =9, p4 =10, invalid =11
}
 one-body operator sets ( More...
 

Static Public Member Functions

static std::string to_string (type t)
 converts type to string representation
 
static type to_type (const std::string &key)
 converts string representation to type
 
static type to_type (OneBodyOper::type oper)
 maps TwoBodyOper::type to type More...
 

Detailed Description

Describes sets of one-body operator.

OneBodyOperSet describes common sets of OneBodyOper 's, and provides runtime support for examining their properties, such as conversion to string and back, map from OneBodyOper to OneBodyOperSet, and construction of OneBodyOperSetDescr.

Member Enumeration Documentation

◆ type

one-body operator sets (

See also
OneBodyOper::type)
Enumerator

{S}

{T}

{V}

{h}

mu 

{mu_x, mu_y, mu_z}

{q_xx, q_xy, q_xz, q_yy, q_yz, q_zz}

phi 

{phi}

dphi 

{dphi_x, dphi_y, dphi_z}

ddphi 

{ddphi_xx, ddphi_xy, ddphi_xz, ddphi_yy, ddphi_yz, ddphi_zz}

pVp 

{pVp}

p4 

{p4}

Member Function Documentation

◆ to_type()

static type sc::OneBodyOperSet::to_type ( OneBodyOper::type  oper)
static

maps TwoBodyOper::type to type

Note
only succeeds if the map is unequivocal

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

Generated at Sun Jan 26 2020 23:24:08 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.