2015-04-01 13:23:02 +02:00
|
|
|
use bitmasks
|
|
|
|
BEGIN_SHELL [ /usr/bin/env python ]
|
|
|
|
from generate_h_apply import *
|
|
|
|
|
2015-04-03 14:26:14 +02:00
|
|
|
s = H_apply("mrcc_simple")
|
2015-04-02 10:13:33 +02:00
|
|
|
s.data["parameters"] = ", delta_ij_sd_, Ndet_sd"
|
|
|
|
s.data["declarations"] += """
|
|
|
|
integer, intent(in) :: Ndet_sd
|
|
|
|
double precision, intent(in) :: delta_ij_sd_(Ndet_sd,Ndet_sd,*)
|
|
|
|
"""
|
2015-04-03 14:26:14 +02:00
|
|
|
s.data["keys_work"] = "call mrcc_dress_simple(delta_ij_sd_,Ndet_sd,i_generator,key_idx,keys_out,N_int,iproc)"
|
2015-04-02 10:13:33 +02:00
|
|
|
s.data["params_post"] += ", delta_ij_sd_, Ndet_sd"
|
|
|
|
s.data["params_main"] += "delta_ij_sd_, Ndet_sd"
|
|
|
|
s.data["decls_main"] += """
|
|
|
|
integer, intent(in) :: Ndet_sd
|
|
|
|
double precision, intent(in) :: delta_ij_sd_(Ndet_sd,Ndet_sd,*)
|
|
|
|
"""
|
|
|
|
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-03 14:26:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
s.data["subroutine"] = "H_apply_mrcc"
|
|
|
|
s.data["keys_work"] = "call mrcc_dress(delta_ij_sd_,Ndet_sd,i_generator,key_idx,keys_out,N_int,iproc)"
|
2015-04-01 13:23:02 +02:00
|
|
|
print s
|
|
|
|
|
|
|
|
END_SHELL
|
|
|
|
|