CP2K 2.5 (Revision 12981)
Functions | Variables

cp_dbcsr_output Namespace Reference

DBCSR output in CP2K. More...

Functions

subroutine, public write_fm_with_basis_info (blacs_matrix, before, after, qs_env, para_env, first_row, last_row, first_col, last_col, output_unit, error)
 Print a spherical matrix of blacs type.
subroutine, public cp_dbcsr_write_sparse_matrix (sparse_matrix, before, after, qs_env, para_env, first_row, last_row, first_col, last_col, scale, output_unit, error)
subroutine copy_repl_dbcsr_to_repl_fm (sparse_matrix, fm, error)
subroutine write_matrix_sym (matrix, matrix_name, before, after, qs_env, para_env, first_row, last_row, first_col, last_col, output_unit, error)
 this should be precomputed somewhere else
subroutine write_matrix_gen (matrix, matrix_name, before, after, para_env, first_row, last_row, first_col, last_col, output_unit, error)
 Write a matrix not necessarily symmetric (no index with atomic labels)
subroutine, public cp_dbcsr_write_matrix_dist (matrix, output_unit, para_env, error)
 Print the distribution of a sparse matrix.

Variables

CHARACTER(len=*), parameter,
private 
moduleN = 'cp_dbcsr_output'

Detailed Description

DBCSR output in CP2K.

Author:
VW
Date:
2009-09-09
Version:
0.1

Modification history:


Function Documentation

subroutine cp_dbcsr_output::copy_repl_dbcsr_to_repl_fm ( TYPE(cp_dbcsr_type)  sparse_matrix,
REAL(KIND=dp),dimension(:, :),pointer  fm,
TYPE(cp_error_type),intent(inout)  error 
) [private]
subroutine,public cp_dbcsr_output::cp_dbcsr_write_matrix_dist ( TYPE(cp_dbcsr_type)  matrix,
INTEGER,intent(in)  output_unit,
TYPE(cp_para_env_type),pointer  para_env,
TYPE(cp_error_type),intent(inout)  error 
)

Print the distribution of a sparse matrix.

History
Creation (25.06.2003,MK)

Definition at line 535 of file cp_dbcsr_output.f90.

References cp_dbcsr_interface::cp_dbcsr_get_data_size(), cp_dbcsr_interface::cp_dbcsr_get_info(), cp_dbcsr_interface::cp_dbcsr_get_num_blocks(), CPPostcondition, dbcsr_types::dbcsr_type_antisymmetric, and timings::timeset().

Referenced by qs_core_hamiltonian::dump_info_core_hamiltonian().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine,public cp_dbcsr_output::cp_dbcsr_write_sparse_matrix ( TYPE(cp_dbcsr_type)  sparse_matrix,
INTEGER,intent(in)  before,
INTEGER,intent(in)  after,
TYPE(qs_environment_type),pointer  qs_env,
TYPE(cp_para_env_type),pointer  para_env,
INTEGER,intent(in),optional  first_row,
INTEGER,intent(in),optional  last_row,
INTEGER,intent(in),optional  first_col,
INTEGER,intent(in),optional  last_col,
REAL(dp),intent(in),optional  scale,
INTEGER,intent(in)  output_unit,
TYPE(cp_error_type),intent(inout)  error 
)
subroutine,public cp_dbcsr_output::write_fm_with_basis_info ( TYPE(cp_fm_type),pointer  blacs_matrix,
INTEGER,intent(in)  before,
INTEGER,intent(in)  after,
TYPE(qs_environment_type),pointer  qs_env,
TYPE(cp_para_env_type),pointer  para_env,
INTEGER,intent(in),optional  first_row,
INTEGER,intent(in),optional  last_row,
INTEGER,intent(in),optional  first_col,
INTEGER,intent(in),optional  last_col,
INTEGER,intent(in)  output_unit,
TYPE(cp_error_type),intent(inout)  error 
)

Print a spherical matrix of blacs type.

Author:
Creation (12.06.2001,MK) Allow for printing of a sub-matrix (01.07.2003,MK)

Definition at line 73 of file cp_dbcsr_output.f90.

References cp_fm_types::cp_fm_get_info(), CPPostcondition, error, qs_environment_types::get_qs_env(), and write_matrix_sym().

Here is the call graph for this function:

subroutine cp_dbcsr_output::write_matrix_gen ( REAL(KIND=dp),dimension(:, :),pointer  matrix,
CHARACTER(LEN=*),intent(in)  matrix_name,
INTEGER,intent(in)  before,
INTEGER,intent(in)  after,
TYPE(cp_para_env_type),pointer  para_env,
INTEGER,intent(in)  first_row,
INTEGER,intent(in)  last_row,
INTEGER,intent(in)  first_col,
INTEGER,intent(in)  last_col,
INTEGER,intent(in)  output_unit,
TYPE(cp_error_type),intent(inout)  error 
) [private]

Write a matrix not necessarily symmetric (no index with atomic labels)

Author:
Teodoro Laino [tlaino] - 10.2007 - University of Zurich

Definition at line 457 of file cp_dbcsr_output.f90.

References error, and machine::m_flush().

Referenced by cp_dbcsr_write_sparse_matrix().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine cp_dbcsr_output::write_matrix_sym ( REAL(KIND=dp),dimension(:, :),pointer  matrix,
CHARACTER(LEN=*),intent(in)  matrix_name,
INTEGER,intent(in)  before,
INTEGER,intent(in)  after,
TYPE(qs_environment_type),pointer  qs_env,
TYPE(cp_para_env_type),pointer  para_env,
INTEGER,intent(in)  first_row,
INTEGER,intent(in)  last_row,
INTEGER,intent(in)  first_col,
INTEGER,intent(in)  last_col,
INTEGER,intent(in)  output_unit,
TYPE(cp_error_type),intent(inout)  error 
) [private]

this should be precomputed somewhere else

Write a matrix or a sub-matrix to the output unit (symmetric)

Author:
Creation (01.07.2003,MK)

Definition at line 316 of file cp_dbcsr_output.f90.

References CPPostcondition, error, basis_set_types::get_gto_basis_set(), particle_types::get_particle_set(), qs_environment_types::get_qs_env(), machine::m_flush(), and orbital_pointers::nso.

Referenced by cp_dbcsr_write_sparse_matrix(), and write_fm_with_basis_info().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

CHARACTER(len=*),parameter,private cp_dbcsr_output::moduleN = 'cp_dbcsr_output'

Definition at line 57 of file cp_dbcsr_output.f90.