14 integer,
parameter ::
dp = kind(1.0d0)
30 type(bml_matrix_t),
intent (inout) :: ham_bml,over_bml
31 integer,
intent(in) :: norb
32 integer,
intent(inout) :: mdim
33 character(20) :: bml_type
35 if(mdim < 0)mdim = norb
37 call bml_zero_matrix(bml_type,bml_element_real,
dp,norb,mdim,ham_bml)
38 call bml_zero_matrix(bml_type,bml_element_real,
dp,norb,mdim,over_bml)
52 type(bml_matrix_t),
intent (inout) :: rho_bml,zmat_bml
53 integer,
intent(in) :: norb
54 integer,
intent(inout) :: mdim
55 character(20) :: bml_type
57 if(mdim < 0)mdim = norb
59 call bml_zero_matrix(bml_type,bml_element_real,
dp,norb,mdim,rho_bml)
60 call bml_zero_matrix(bml_type,bml_element_real,
dp,norb,mdim,zmat_bml)
74 type(bml_matrix_t),
intent (inout) :: orthoh_bml,orthop_bml
75 integer,
intent(in) :: norb
76 integer,
intent(inout) :: mdim
77 character(20) :: bml_type
79 if(mdim < 0)mdim = norb
81 call bml_noinit_matrix(bml_type,bml_element_real,
dp,norb,mdim,orthoh_bml)
82 call bml_noinit_matrix(bml_type,bml_element_real,
dp,norb,mdim,orthop_bml)
subroutine, public prg_init_hsmat(ham_bml, over_bml, bml_type, mdim, norb)
Initialize Hamiltonian and Overlap Matrix.
subroutine, public prg_init_ortho(orthoh_bml, orthop_bml, bml_type, mdim, norb)
Initialize The orthogonal versions of Hamiltonian and Density Matrix.
subroutine, public prg_init_pzmat(rho_bml, zmat_bml, bml_type, mdim, norb)
Initialize Density matrix and Inverse square root Overlap.