Documentation for module preconditioner_solvers

solves the preconditioner, contains to utility function for fm<->dbcsr transfers, should be moved soon

source: preconditioner_solvers.F
Loading...

public Subroutines/Functions:

...
transfers a dbcsr to a full matrix
transfers a full matrix to a dbcsr

SUBROUTINEsolve_preconditioner(my_solver_type, preconditioner_env, matrix_s, matrix_h)

...

Arguments:
INTEGER
:: my_solver_type ...
:: preconditioner_env ...
TYPE(dbcsr_type),
OPTIONAL, POINTER
:: matrix_s ...
TYPE(dbcsr_type),
POINTER
:: matrix_h ...

SUBROUTINEtransfer_dbcsr_to_fm(dbcsr_matrix, fm_matrix, para_env, context)

transfers a dbcsr to a full matrix

Arguments:
TYPE(dbcsr_type),
POINTER
:: dbcsr_matrix a dbcsr matrix, gets deallocated at the end
TYPE(cp_fm_type),
POINTER
:: fm_matrix a full matrix gets created if not yet done
POINTER
:: para_env the para_env
POINTER
:: context the blacs context

SUBROUTINEtransfer_fm_to_dbcsr(fm_matrix, dbcsr_matrix, template_mat)

transfers a full matrix to a dbcsr

Arguments:
TYPE(cp_fm_type),
POINTER
:: fm_matrix a full matrix gets deallocated in the end
TYPE(dbcsr_type),
POINTER
:: dbcsr_matrix a dbcsr matrix, gets create from a template
TYPE(dbcsr_type),
POINTER
:: template_mat the template which is used for the structure