mirror of
https://gitlab.com/scemama/QCaml.git
synced 2025-01-05 02:48:37 +01:00
Removed TRR
This commit is contained in:
parent
23389acfc8
commit
fd1b05c4ec
@ -3,9 +3,6 @@ open Constants
|
|||||||
|
|
||||||
exception Null_contribution
|
exception Null_contribution
|
||||||
|
|
||||||
(** Array of shell pairs obtained from combining two contracted shells. The
|
|
||||||
two integers correspond to the indices of the combined shells.
|
|
||||||
*)
|
|
||||||
type t =
|
type t =
|
||||||
{
|
{
|
||||||
shell_a : Contracted_shell.t;
|
shell_a : Contracted_shell.t;
|
||||||
|
@ -328,7 +328,7 @@ let hvrr_two_e_vector (angMom_a, angMom_b, angMom_c, angMom_d)
|
|||||||
in Zmap.add map_2d.(m) key result;
|
in Zmap.add map_2d.(m) key result;
|
||||||
result
|
result
|
||||||
|
|
||||||
|
(*
|
||||||
and trr_v angMom_a angMom_c =
|
and trr_v angMom_a angMom_c =
|
||||||
|
|
||||||
match (angMom_a.tot, angMom_c.tot) with
|
match (angMom_a.tot, angMom_c.tot) with
|
||||||
@ -453,6 +453,7 @@ let hvrr_two_e_vector (angMom_a, angMom_b, angMom_c, angMom_d)
|
|||||||
in
|
in
|
||||||
Zmap.add map_2d.(0) key result;
|
Zmap.add map_2d.(0) key result;
|
||||||
result
|
result
|
||||||
|
*)
|
||||||
in
|
in
|
||||||
|
|
||||||
let sum matrix =
|
let sum matrix =
|
||||||
@ -461,8 +462,13 @@ let hvrr_two_e_vector (angMom_a, angMom_b, angMom_c, angMom_d)
|
|||||||
|
|
||||||
let vrr_v a b =
|
let vrr_v a b =
|
||||||
let v =
|
let v =
|
||||||
if Array.length zero_m_array < 6 then vrr_v 0 a b
|
(*
|
||||||
|
if Array.length zero_m_array < 10 then
|
||||||
|
*)
|
||||||
|
vrr_v 0 a b
|
||||||
|
(*
|
||||||
else trr_v a b
|
else trr_v a b
|
||||||
|
*)
|
||||||
in
|
in
|
||||||
match v with
|
match v with
|
||||||
| None -> 0.
|
| None -> 0.
|
||||||
|
@ -12,6 +12,11 @@ type t = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let make ?multiplicity:(multiplicity=1) ?charge:(charge=0) ~nuclei basis =
|
let make ?multiplicity:(multiplicity=1) ?charge:(charge=0) ~nuclei basis =
|
||||||
|
|
||||||
|
(* Tune Garbage Collector *)
|
||||||
|
let gc = Gc.get () in
|
||||||
|
Gc.set { gc with space_overhead = 1000 };
|
||||||
|
|
||||||
let electrons =
|
let electrons =
|
||||||
Electrons.make ~multiplicity ~charge nuclei
|
Electrons.make ~multiplicity ~charge nuclei
|
||||||
in
|
in
|
||||||
|
@ -13,8 +13,6 @@ let speclist = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
let run ~out =
|
let run ~out =
|
||||||
let gc = Gc.get () in
|
|
||||||
Gc.set { gc with space_overhead = 1000 };
|
|
||||||
let out_file =
|
let out_file =
|
||||||
match out with
|
match out with
|
||||||
| None -> raise (Invalid_argument "Output file should be specified with -o")
|
| None -> raise (Invalid_argument "Output file should be specified with -o")
|
||||||
|
Loading…
Reference in New Issue
Block a user