mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Fix bad word
This commit is contained in:
parent
291087356d
commit
134dc0c6e4
@ -36,10 +36,10 @@ draft: false
|
|||||||
const word = name
|
const word = name
|
||||||
description = word.charAt(0).toUpperCase() + word.substring(1).toLowerCase()
|
description = word.charAt(0).toUpperCase() + word.substring(1).toLowerCase()
|
||||||
break;
|
break;
|
||||||
case Number(excitationTypes.Singulet):
|
case Number(excitationTypes.Single):
|
||||||
description = name.toLowerCase()
|
description = name.toLowerCase()
|
||||||
break;
|
break;
|
||||||
case Number(excitationTypes.Doublet):
|
case Number(excitationTypes.Double):
|
||||||
description = name.toLowerCase()
|
description = name.toLowerCase()
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -3,8 +3,8 @@ class excitationTypes {
|
|||||||
static get RYDBERG(){return new excitationType(1<<1,String.raw`\mathrm{R}`)}
|
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 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 nPis(){return new excitationType(1<<3,String.raw`n \rightarrow \pi^\star`)}
|
||||||
static get Singulet(){return new excitationType(1<<4,"S")}
|
static get Single(){return new excitationType(1<<4,"S")}
|
||||||
static get Doublet(){return new excitationType(1<<5,"D")}
|
static get Double(){return new excitationType(1<<5,"D")}
|
||||||
static get All(){
|
static get All(){
|
||||||
var lst=[]
|
var lst=[]
|
||||||
for(const prop of Object.getOwnPropertyNames(excitationTypes)){
|
for(const prop of Object.getOwnPropertyNames(excitationTypes)){
|
||||||
@ -120,10 +120,10 @@ class excitationBase {
|
|||||||
const [initialt, finalt] = ty.split(arrow, 2)
|
const [initialt, finalt] = ty.split(arrow, 2)
|
||||||
const initialts = initialt.split(",")
|
const initialts = initialt.split(",")
|
||||||
if (initialts.length==2||initialts.length==2){
|
if (initialts.length==2||initialts.length==2){
|
||||||
this.type.Value = this.type | excitationTypes.Singulet
|
this.type.Value = this.type | excitationTypes.Simple
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
this.type.Value = this.type | excitationTypes.Doublet
|
this.type.Value = this.type | excitationTypes.Double
|
||||||
}
|
}
|
||||||
const finalts = finalt.split(",").map(x => x.trim())
|
const finalts = finalt.split(",").map(x => x.trim())
|
||||||
if (initialts.includes("n") && finalts.includes(String.raw`\pi^\star`)) {
|
if (initialts.includes("n") && finalts.includes(String.raw`\pi^\star`)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user