10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-07-23 11:17:42 +02:00

Fix typo Singlet

This commit is contained in:
Mickaël Véril 2020-01-13 14:48:26 +01:00
parent 3b2776041d
commit 084fab59ff
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ draft: false
case Number(excitationTypes.Double): case Number(excitationTypes.Double):
description = name.toLowerCase() description = name.toLowerCase()
break; break;
case Number(excitationTypes.Singulet): case Number(excitationTypes.Singlet):
description = name.toLowerCase() description = name.toLowerCase()
break; break;
case Number(excitationTypes.Triplet): case Number(excitationTypes.Triplet):

View File

@ -5,7 +5,7 @@ class excitationTypes {
static get nPis() { return new excitationType(1 << 3, String.raw`n \rightarrow \pi^\star`) } static get nPis() { return new excitationType(1 << 3, String.raw`n \rightarrow \pi^\star`) }
static get Single() { return new excitationType(1 << 4, "S") } static get Single() { return new excitationType(1 << 4, "S") }
static get Double() { return new excitationType(1 << 5, "D") } static get Double() { return new excitationType(1 << 5, "D") }
static get Singulet() { return new excitationType(1 << 6, "1") } static get Singlet() { return new excitationType(1 << 6, "1") }
static get Triplet() { return new excitationType(1 << 7, "3") } static get Triplet() { return new excitationType(1 << 7, "3") }
// Max bit shifts is 31 because int are int32 So 1 << 31 are -2147483648 // Max bit shifts is 31 because int are int32 So 1 << 31 are -2147483648
static get Others() { return new excitationType(1 << 31, String.raw`\mathrm{Others}`) } static get Others() { return new excitationType(1 << 31, String.raw`\mathrm{Others}`) }
@ -158,7 +158,7 @@ class excitationBase {
} }
switch (final.multiplicity) { switch (final.multiplicity) {
case 1: case 1:
this.type.Value=this.type|excitationTypes.Singulet this.type.Value=this.type|excitationTypes.Singlet
break; break;
case 3: case 3:
this.type.Value=this.type|excitationTypes.Triplet this.type.Value=this.type|excitationTypes.Triplet