mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 21:24:00 +01:00
Use << (left shift) operator instead of fixed value to set excitationType
This commit is contained in:
parent
2666707914
commit
74dce2168f
@ -1,10 +1,10 @@
|
||||
class excitationTypes {
|
||||
static get VALENCE(){return new excitationType(1,String.raw`\mathrm{V}`)}
|
||||
static get RYDBERG(){return new excitationType(2,String.raw`\mathrm{R}`)}
|
||||
static get PiPis(){return new excitationType(4,String.raw`\pi \rightarrow \pi^\star`)}
|
||||
static get nPis(){return new excitationType(8,String.raw`n \rightarrow \pi^\star`)}
|
||||
static get Singulet(){return new excitationType(16,"S")}
|
||||
static get Doublet(){return new excitationType(32,"D")}
|
||||
static get RYDBERG(){return new excitationType(1<<1,String.raw`\mathrm{R}`)}
|
||||
static get PiPis(){return new excitationType(1<<2,String.raw`\pi \rightarrow \pi^\star`)}
|
||||
static get nPis(){return new excitationType(1<<3,String.raw`n \rightarrow \pi^\star`)}
|
||||
static get Singulet(){return new excitationType(1<<4,"S")}
|
||||
static get Doublet(){return new excitationType(1<<5,"D")}
|
||||
static get All(){
|
||||
var lst=[]
|
||||
for(const prop of Object.getOwnPropertyNames(excitationTypes)){
|
||||
|
Loading…
Reference in New Issue
Block a user