Skip to content
AsciiC6hem

Computational chemistry

Computational chemistry results — method, basis set, and computed properties — in a structured syntax.

calc(method/basis){
property: value [units]
}
  • method — computational method (e.g. b3lyp, mp2, hf)
  • basis — basis set (e.g. 6-31G*, cc-pVTZ)
  • Each property line: title: value [units]
Source Rendered
calc(b3lyp/6-31G*){
Install the asciichem gem to see this rendered.
energy: -234.5 Hartree
Install the asciichem gem to see this rendered.
dipole: [0.1, 0.2, 0.3] Debye
Install the asciichem gem to see this rendered.
}
Install the asciichem gem to see this rendered.
Source Rendered
calc(hf/sto-3g){
Install the asciichem gem to see this rendered.
energy: -76.0 Hartree
Install the asciichem gem to see this rendered.
HOMO: -0.5 Hartree
Install the asciichem gem to see this rendered.
LUMO: 0.2 Hartree
Install the asciichem gem to see this rendered.
}
Install the asciichem gem to see this rendered.
FieldRequiredExample
titleyesenergy, dipole, HOMO
valueyes-234.5
unitsnoHartree, Debye, eV

Each property line must have a : separator. Malformed entries raise ParseError at parse time.

Emits as <molecule> with <propertyList> of <property> children:

<molecule title="b3lyp/6-31G*">
<propertyList>
<property title="energy">
<scalar units="Hartree">-234.5</scalar>
</property>
</propertyList>
</molecule>
Play