2015-04-01 13:23:02 +02:00
|
|
|
use bitmasks
|
|
|
|
BEGIN_SHELL [ /usr/bin/env python ]
|
|
|
|
from generate_h_apply import *
|
|
|
|
|
2015-07-03 18:50:07 +02:00
|
|
|
s = H_apply("mrcc")
|
|
|
|
s.data["parameters"] = ", delta_ij_, delta_ii_,Ndet_cas, Ndet_non_cas"
|
2015-04-02 10:13:33 +02:00
|
|
|
s.data["declarations"] += """
|
2015-07-03 18:50:07 +02:00
|
|
|
integer, intent(in) :: Ndet_cas,Ndet_non_cas
|
|
|
|
double precision, intent(in) :: delta_ij_(Ndet_cas,Ndet_non_cas,*)
|
|
|
|
double precision, intent(in) :: delta_ii_(Ndet_cas,*)
|
2015-04-02 10:13:33 +02:00
|
|
|
"""
|
2015-07-03 18:50:07 +02:00
|
|
|
s.data["keys_work"] = "call mrcc_dress(delta_ij_,delta_ii_,Ndet_cas,Ndet_non_cas,i_generator,key_idx,keys_out,N_int,iproc)"
|
|
|
|
s.data["params_post"] += ", delta_ij_, delta_ii_, Ndet_cas, Ndet_non_cas"
|
|
|
|
s.data["params_main"] += "delta_ij_, delta_ii_, Ndet_cas, Ndet_non_cas"
|
2015-04-02 10:13:33 +02:00
|
|
|
s.data["decls_main"] += """
|
2015-07-03 18:50:07 +02:00
|
|
|
integer, intent(in) :: Ndet_cas,Ndet_non_cas
|
|
|
|
double precision, intent(in) :: delta_ij_(Ndet_cas,Ndet_non_cas,*)
|
|
|
|
double precision, intent(in) :: delta_ii_(Ndet_cas,*)
|
2015-04-02 10:13:33 +02:00
|
|
|
"""
|
|
|
|
s.data["finalization"] = ""
|
|
|
|
s.data["copy_buffer"] = ""
|
|
|
|
s.data["generate_psi_guess"] = ""
|
2015-04-09 23:59:06 +02:00
|
|
|
s.data["size_max"] = "3072"
|
2015-04-03 14:26:14 +02:00
|
|
|
print s
|
|
|
|
|
2015-04-02 10:13:33 +02:00
|
|
|
|
2015-04-01 13:23:02 +02:00
|
|
|
END_SHELL
|
|
|
|
|