mirror of
https://github.com/QuantumPackage/qp2.git
synced 2025-04-27 18:54:53 +02:00
Merge branch 'dev-stable' into trexio-convention
This commit is contained in:
commit
69b58f3680
@ -2,6 +2,7 @@ open Qptypes
|
||||
open Sexplib.Std
|
||||
|
||||
type t = S|P|D|F|G|H|I|J|K|L [@@deriving sexp]
|
||||
type st = t [@@deriving sexp]
|
||||
|
||||
let to_string = function
|
||||
| S -> "S"
|
||||
@ -70,9 +71,6 @@ let of_l i =
|
||||
| x -> raise (Failure ("Angmom should be S|P|D|F|G|H|I|J|K|L"))
|
||||
|
||||
|
||||
type st = t
|
||||
|
||||
|
||||
module Xyz = struct
|
||||
type t = { x: Positive_int.t ;
|
||||
y: Positive_int.t ;
|
||||
|
@ -14,7 +14,7 @@ integer*8 function spin_det_search_key(det,Nint)
|
||||
END_DOC
|
||||
integer, intent(in) :: Nint
|
||||
integer(bit_kind), intent(in) :: det(Nint)
|
||||
integer(bit_kind), parameter :: unsigned_shift = -huge(1_bit_kind) ! 100...00
|
||||
integer(bit_kind), parameter :: unsigned_shift = 1_bit_kind-huge(1_bit_kind) ! 100...00
|
||||
integer :: i
|
||||
spin_det_search_key = det(1)
|
||||
do i=2,Nint
|
||||
|
Loading…
x
Reference in New Issue
Block a user