Documentation for module lri_environment_methods

Calculates integral matrices for LRIGPW method lri : local resolution of the identity

source: lri_environment_methods.F
Loading...

public Subroutines/Functions:

creates and initializes an lri_env
performs the fitting of the density; solves the linear system of equations; yield the expansion coefficients avec
performs the fitting of the density and distributes the fitted density on the grid
calculates integrals needed for the LRI density fitting, integrals are calculated once, before the SCF starts
...
SUBROUTINE
lri_print_stat (qs_env)
...
...
...

SUBROUTINEbuild_lri_matrices(lri_env, qs_env)

creates and initializes an lri_env

Arguments:
POINTER
:: lri_env the lri_environment you want to create
POINTER
:: qs_env ...

SUBROUTINEcalculate_avec_lri(lri_env, lri_density, pmatrix, cell_to_index)

performs the fitting of the density; solves the linear system of equations; yield the expansion coefficients avec

Arguments:
POINTER
:: lri_env the lri environment lri_density the environment for the fitting pmatrix density matrix
POINTER
:: lri_density ...
POINTER
:: pmatrix(:,:) ...
INTEGER,
POINTER
:: cell_to_index(:,:,:) ...

SUBROUTINEcalculate_lri_densities(lri_env, qs_env, pmatrix, cell_to_index, lri_rho_struct, atomic_kind_set, para_env)

performs the fitting of the density and distributes the fitted density on the grid

Arguments:
POINTER
:: lri_env the lri environment
POINTER
:: qs_env ...
POINTER
:: pmatrix(:,:) ...
INTEGER,
POINTER
:: cell_to_index(:,:,:) ...
POINTER
:: lri_rho_struct ...
POINTER
:: atomic_kind_set(:) ...
POINTER
:: para_env ...

SUBROUTINEcalculate_lri_integrals(lri_env, qs_env)

calculates integrals needed for the LRI density fitting, integrals are calculated once, before the SCF starts

Arguments:
POINTER
:: lri_env ...
POINTER
:: qs_env ...

SUBROUTINElri_kg_rho_update(rho_struct, qs_env, lri_env, atomlist)

...

Arguments:
POINTER
:: rho_struct ...
POINTER
:: qs_env ...
POINTER
:: lri_env ...
INTEGER,
INTENT(in)
:: atomlist(:) ...

SUBROUTINElri_print_stat(qs_env)

...

Arguments:
POINTER
:: qs_env ...

SUBROUTINEv_int_ppl_energy(qs_env, lri_v_int, ecore_ppl_ri)

...

Arguments:
POINTER
:: qs_env ...
POINTER
:: lri_v_int(:) ...
REAL(dp),
INTENT(inout)
:: ecore_ppl_ri ...

SUBROUTINEv_int_ppl_update(qs_env, lri_v_int, calculate_forces)

...

Arguments:
POINTER
:: qs_env ...
POINTER
:: lri_v_int(:) ...
LOGICAL,
INTENT(in)
:: calculate_forces ...