10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-11-06 22:23:42 +01:00
QCaml/simulation/lib/simulation.mli
2021-01-01 16:39:33 +01:00

51 lines
1.1 KiB
OCaml

(* Simulation
* :PROPERTIES:
* :header-args: :noweb yes :comments both
* :END:
*
* Contains the state of the simulation.
*
* #+NAME: open *)
(* [[file:~/QCaml/simulation/simulation.org::open][open]] *)
open Common
open Particles
open Operators
(* open ends here *)
(* Type
*
* #+NAME: types *)
(* [[file:~/QCaml/simulation/simulation.org::types][types]] *)
type t
(* types ends here *)
(* Access *)
(* [[file:~/QCaml/simulation/simulation.org::*Access][Access:1]] *)
val nuclei : t -> Nuclei.t
val charge : t -> Charge.t
val electrons : t -> Electrons.t
val ao_basis : t -> Ao.Basis.t
val nuclear_repulsion : t -> float
val operators : t -> Operator.t list
(* Access:1 ends here *)
(* Creation *)
(* [[file:~/QCaml/simulation/simulation.org::*Creation][Creation:1]] *)
val make : ?multiplicity:int -> ?charge:int ->
?operators:Operator.t list-> nuclei:Nuclei.t ->
Ao.Basis.t -> t
(* Creation:1 ends here *)
(* Printers *)
(* [[file:~/QCaml/simulation/simulation.org::*Printers][Printers:1]] *)
val pp : Format.formatter -> t -> unit
(* Printers:1 ends here *)