10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-06-02 03:15:19 +02:00
QCaml/perturbation/mp2.org

4.8 KiB

MP2

Type

type t

Creation

val make : frozen_core:Mo.Frozen_core.t -> Mo.Basis.t -> t
make Creates an MP2 data structure
let mp2 =
Mp2.make ~frozen_core:(Mo.Frozen_core.(make Small molecule)) mo_basis
;;
- : Mp2.t : <abstr>

Access

val energy      : t -> float
val mo_basis    : t -> Mo.Basis.t
val frozen_core : t -> Mo.Frozen_core.t
energy Returns the MP2 energy
mo_basis Returns the MO basis on which the MP2 energy was computed
frozen_core Returns the frozen_core scheme used to compute the MP2 energy

Printers

val pp : Format.formatter -> t -> unit

Tests