NTPoly
Functions/Subroutines
densitymatrixsolversmodule_wrp Module Reference

Wraps the overlap solvers module for calling from other languages. More...

Functions/Subroutines

subroutine, public trs2_wrp (ih_Hamiltonian, ih_InverseSquareRoot, nel, ih_Density, chemical_potential_out, ih_solver_parameters)
 Compute the density matrix from a Hamiltonian using the TRS2 method. More...
 
subroutine, public trs4_wrp (ih_Hamiltonian, ih_InverseSquareRoot, nel, ih_Density, chemical_potential_out, ih_solver_parameters)
 Compute the density matrix from a Hamiltonian using the TRS4 method. More...
 
subroutine, public hpcp_wrp (ih_Hamiltonian, ih_InverseSquareRoot, nel, ih_Density, chemical_potential_out, ih_solver_parameters)
 Compute the density matrix from a Hamiltonian using the HPCP method. More...
 
subroutine, public hpcpplus_wrp (ih_Hamiltonian, ih_InverseSquareRoot, nel, ih_Density, chemical_potential_out, ih_solver_parameters)
 Compute the density matrix from a Hamiltonian using the HPCP method. More...
 

Detailed Description

Wraps the overlap solvers module for calling from other languages.

Function/Subroutine Documentation

◆ hpcp_wrp()

subroutine, public densitymatrixsolversmodule_wrp::hpcp_wrp ( integer(kind=c_int), dimension(size_wrp), intent(in)  ih_Hamiltonian,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_InverseSquareRoot,
integer(kind=c_int), intent(in)  nel,
integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_Density,
real(ntreal), intent(out)  chemical_potential_out,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_solver_parameters 
)

Compute the density matrix from a Hamiltonian using the HPCP method.

Parameters
[in]ih_Hamiltonianthe matrix to compute the corresponding density.
[in]ih_InverseSquareRootof the overlap matrix.
[in]nelthe number of electrons.
[out]ih_Densitythe density matrix computed by this routine.
[out]chemical_potential_outthe chemical potential calculated.
[in]ih_solver_parametersparameters for the solver

◆ hpcpplus_wrp()

subroutine, public densitymatrixsolversmodule_wrp::hpcpplus_wrp ( integer(kind=c_int), dimension(size_wrp), intent(in)  ih_Hamiltonian,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_InverseSquareRoot,
integer(kind=c_int), intent(in)  nel,
integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_Density,
real(ntreal), intent(out)  chemical_potential_out,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_solver_parameters 
)

Compute the density matrix from a Hamiltonian using the HPCP method.

Parameters
[in]ih_Hamiltonianthe matrix to compute the corresponding density.
[in]ih_InverseSquareRootof the overlap matrix.
[in]nelthe number of electrons.
[out]ih_Densitythe density matrix computed by this routine.
[out]chemical_potential_outthe chemical potential calculated.
[in]ih_solver_parametersparameters for the solver

◆ trs2_wrp()

subroutine, public densitymatrixsolversmodule_wrp::trs2_wrp ( integer(kind=c_int), dimension(size_wrp), intent(in)  ih_Hamiltonian,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_InverseSquareRoot,
integer(kind=c_int), intent(in)  nel,
integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_Density,
real(ntreal), intent(out)  chemical_potential_out,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_solver_parameters 
)

Compute the density matrix from a Hamiltonian using the TRS2 method.

Parameters
[in]ih_Hamiltonianthe matrix to compute the corresponding density from.
[in]ih_InverseSquareRootof the overlap matrix.
[in]nelthe number of electrons.
[out]ih_Densitythe density matrix computed by this routine.
[out]chemical_potential_outthe chemical potential calculated.
[in]ih_solver_parametersparameters for the solver

◆ trs4_wrp()

subroutine, public densitymatrixsolversmodule_wrp::trs4_wrp ( integer(kind=c_int), dimension(size_wrp), intent(in)  ih_Hamiltonian,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_InverseSquareRoot,
integer(kind=c_int), intent(in)  nel,
integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_Density,
real(ntreal), intent(out)  chemical_potential_out,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_solver_parameters 
)

Compute the density matrix from a Hamiltonian using the TRS4 method.

Parameters
[in]ih_Hamiltonianthe matrix to compute the corresponding density from.
[in]ih_InverseSquareRootof the overlap matrix.
[in]nelthe number of electrons.
[out]ih_Densitythe density matrix computed by this routine.
[out]chemical_potential_outthe chemical potential calculated.
[in]ih_solver_parametersparameters for the solver