(git:27c966b)
Loading...
Searching...
No Matches
preconditioner_apply Module Reference

computes preconditioners, and implements methods to apply them currently used in qs_ot More...

Functions/Subroutines

subroutine, public apply_preconditioner_complex_batch (preconditioners, matrix_in, matrix_out, handled, output_scale)
 Apply single-rank complex preconditioners in bounded OpenMP batches. Packing and DBCSR writeback stay outside OpenMP; each worker owns its dense scratch.
subroutine, public apply_preconditioner_fm (preconditioner_env, matrix_in, matrix_out)
 applies a previously created preconditioner to a full matrix
subroutine, public apply_preconditioner_dbcsr (preconditioner_env, matrix_in, matrix_out)
 ...
subroutine, public apply_preconditioner_cfm_complex (preconditioner_env, matrix_in, matrix_out)
 Apply a complex k-point orbital preconditioner.
subroutine, public apply_preconditioner_dbcsr_complex (preconditioner_env, matrix_in_re, matrix_in_im, matrix_out_re, matrix_out_im)
 Apply a complex orbital preconditioner to paired real/imaginary DBCSR matrices.

Detailed Description

computes preconditioners, and implements methods to apply them currently used in qs_ot

History
  • [UB] 2009-05-13 Adding stable approximate inverse (full and sparse)
Author
Joost VandeVondele (09.2002)

Function/Subroutine Documentation

◆ apply_preconditioner_complex_batch()

subroutine, public preconditioner_apply::apply_preconditioner_complex_batch ( type(preconditioner_p_type), dimension(:), intent(in) preconditioners,
type(dbcsr_p_type), dimension(:, :), intent(in) matrix_in,
type(dbcsr_p_type), dimension(:, :), intent(in) matrix_out,
logical, intent(out) handled,
real(dp), dimension(:), intent(in), optional output_scale )

Apply single-rank complex preconditioners in bounded OpenMP batches. Packing and DBCSR writeback stay outside OpenMP; each worker owns its dense scratch.

Parameters
preconditionerschannel preconditioners
matrix_inreal/imaginary input pointers, indexed by component and channel
matrix_outreal/imaginary output pointers, indexed by component and channel
handledfalse when a channel requires the distributed implementation
output_scaleoptional real scale per channel, applied before writeback

Definition at line 92 of file preconditioner_apply.F.

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

◆ apply_preconditioner_fm()

subroutine, public preconditioner_apply::apply_preconditioner_fm ( type(preconditioner_type) preconditioner_env,
type(cp_fm_type), intent(in) matrix_in,
type(cp_fm_type), intent(in) matrix_out )

applies a previously created preconditioner to a full matrix

Parameters
preconditioner_env...
matrix_in...
matrix_out...

Definition at line 270 of file preconditioner_apply.F.

Here is the caller graph for this function:

◆ apply_preconditioner_dbcsr()

subroutine, public preconditioner_apply::apply_preconditioner_dbcsr ( type(preconditioner_type) preconditioner_env,
type(dbcsr_type) matrix_in,
type(dbcsr_type) matrix_out )

...

Parameters
preconditioner_env...
matrix_in...
matrix_out...

Definition at line 321 of file preconditioner_apply.F.

◆ apply_preconditioner_cfm_complex()

subroutine, public preconditioner_apply::apply_preconditioner_cfm_complex ( type(preconditioner_type) preconditioner_env,
type(cp_cfm_type), intent(in) matrix_in,
type(cp_cfm_type), intent(inout) matrix_out )

Apply a complex k-point orbital preconditioner.

Parameters
preconditioner_envcomplex preconditioner storage
matrix_incomplex input channel
matrix_outcomplex output channel

Definition at line 373 of file preconditioner_apply.F.

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

◆ apply_preconditioner_dbcsr_complex()

subroutine, public preconditioner_apply::apply_preconditioner_dbcsr_complex ( type(preconditioner_type), target preconditioner_env,
type(dbcsr_type), target matrix_in_re,
type(dbcsr_type), target matrix_in_im,
type(dbcsr_type), target matrix_out_re,
type(dbcsr_type), target matrix_out_im )

Apply a complex orbital preconditioner to paired real/imaginary DBCSR matrices.

Parameters
preconditioner_envcomplex k-point preconditioner
matrix_in_rereal input channel
matrix_in_imimaginary input channel
matrix_out_rereal output channel
matrix_out_imimaginary output channel

Definition at line 470 of file preconditioner_apply.F.

Here is the call graph for this function: