(git:5e7fe52)
Loading...
Searching...
No Matches
qs_scf_subspace Module Reference

History management and matrix combination for ADIIS. More...

Functions/Subroutines

subroutine, public qs_scf_subspace_restart (buffer, fock, density, state_energy, restarted)
 Restart the ADIIS history from the current strictly paired P, F[P] state.
subroutine, public qs_scf_subspace_push (buffer, fock, density, state_energy, pushed)
 Append one accepted, evaluated P,F[P] state to the ADIIS history.
subroutine, public qs_scf_subspace_build (buffer)
 Solve the ADIIS model from previously accepted history and form an effective KS matrix.

Variables

integer, parameter, public scf_subspace_invalid_history = 100

Detailed Description

History management and matrix combination for ADIIS.

Function/Subroutine Documentation

◆ qs_scf_subspace_restart()

subroutine, public qs_scf_subspace::qs_scf_subspace_restart ( type(qs_scf_subspace_buffer_type), intent(inout) buffer,
type(dbcsr_p_type), dimension(:, :), pointer fock,
type(dbcsr_p_type), dimension(:, :), pointer density,
real(kind=dp), intent(in) state_energy,
logical, intent(out) restarted )

Restart the ADIIS history from the current strictly paired P, F[P] state.

Parameters
bufferPersistent SCF subspace history.
fockCurrent raw F[P], indexed by spin and real-space cell.
densityCurrent input P that generated fock, with matching indices.
state_energy...
restartedWhether the current state was stored successfully.

Definition at line 51 of file qs_scf_subspace.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ qs_scf_subspace_push()

subroutine, public qs_scf_subspace::qs_scf_subspace_push ( type(qs_scf_subspace_buffer_type), intent(inout) buffer,
type(dbcsr_p_type), dimension(:, :), pointer fock,
type(dbcsr_p_type), dimension(:, :), pointer density,
real(kind=dp), intent(in) state_energy,
logical, intent(out) pushed )

Append one accepted, evaluated P,F[P] state to the ADIIS history.

The SCF driver owns state acceptance.  Trial endpoints and arbitrary initial guesses
must not call this routine.
Parameters
bufferPersistent SCF subspace history.
fockCurrent raw F[P], indexed by spin and real-space cell.
densityCurrent input P that generated fock, with matching indices.
state_energy...
pushedWhether the state was stored successfully.

Definition at line 84 of file qs_scf_subspace.F.

Here is the caller graph for this function:

◆ qs_scf_subspace_build()

subroutine, public qs_scf_subspace::qs_scf_subspace_build ( type(qs_scf_subspace_buffer_type), intent(inout) buffer)

Solve the ADIIS model from previously accepted history and form an effective KS matrix.

Parameters
bufferPersistent SCF subspace history.

Definition at line 129 of file qs_scf_subspace.F.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ scf_subspace_invalid_history

integer, parameter, public qs_scf_subspace::scf_subspace_invalid_history = 100

Definition at line 37 of file qs_scf_subspace.F.