(git:6a2e663)
dbcsr_vector Module Reference

operations for skinny matrices/vectors expressed in dbcsr form More...

Functions/Subroutines

subroutine, public create_col_vec_from_matrix (dbcsr_vec, matrix, ncol)
 creates a dbcsr col vector like object which lives on proc_col 0 and has the same row dist as the template matrix the returned matrix is fully allocated and all blocks are set to 0 this is not a sparse object (and must never be) More...
 
subroutine, public create_row_vec_from_matrix (dbcsr_vec, matrix, nrow)
 creates a dbcsr row vector like object which lives on proc_row 0 and has the same row dist as the template matrix the returned matrix is fully allocated and all blocks are set to 0 this is not a sparse object (and must never be) More...
 
subroutine, public create_replicated_col_vec_from_matrix (dbcsr_vec, matrix, ncol)
 creates a col vector like object whose blocks can be replicated along the processor row and has the same row dist as the template matrix the returned matrix is fully allocated and all blocks are set to 0 this is not a sparse object (and must never be) More...
 
subroutine, public create_replicated_row_vec_from_matrix (dbcsr_vec, matrix, nrow)
 creates a row vector like object whose blocks can be replicated along the processor col and has the same col dist as the template matrix the returned matrix is fully allocated and all blocks are set to 0 this is not a sparse object (and must never be) More...
 

Detailed Description

operations for skinny matrices/vectors expressed in dbcsr form

History
2014.10 created [Florian Schiffmann]
Author
Florian Schiffmann

Function/Subroutine Documentation

◆ create_col_vec_from_matrix()

subroutine, public dbcsr_vector::create_col_vec_from_matrix ( type(dbcsr_type)  dbcsr_vec,
type(dbcsr_type)  matrix,
integer  ncol 
)

creates a dbcsr col vector like object which lives on proc_col 0 and has the same row dist as the template matrix the returned matrix is fully allocated and all blocks are set to 0 this is not a sparse object (and must never be)

Parameters
dbcsr_vecthe vector object to create must be allocated but not initialized
matrixa dbcsr matrix used as template
ncolnumber of vectors in the dbcsr_typeect (1 for vector, n for skinny matrix)

Definition at line 108 of file dbcsr_vector.F.

Here is the caller graph for this function:

◆ create_row_vec_from_matrix()

subroutine, public dbcsr_vector::create_row_vec_from_matrix ( type(dbcsr_type)  dbcsr_vec,
type(dbcsr_type)  matrix,
integer  nrow 
)

creates a dbcsr row vector like object which lives on proc_row 0 and has the same row dist as the template matrix the returned matrix is fully allocated and all blocks are set to 0 this is not a sparse object (and must never be)

Parameters
dbcsr_vec...
matrixa dbcsr matrix used as template
nrownumber of vectors in the dbcsr_typeect (1 for vector, n for skinny matrix)

Definition at line 150 of file dbcsr_vector.F.

◆ create_replicated_col_vec_from_matrix()

subroutine, public dbcsr_vector::create_replicated_col_vec_from_matrix ( type(dbcsr_type)  dbcsr_vec,
type(dbcsr_type)  matrix,
integer  ncol 
)

creates a col vector like object whose blocks can be replicated along the processor row and has the same row dist as the template matrix the returned matrix is fully allocated and all blocks are set to 0 this is not a sparse object (and must never be)

Parameters
dbcsr_vecthe vector object to create must be allocated but not initialized
matrixa dbcsr matrix used as template
ncolnumber of vectors in the dbcsr_typeect (1 for vector, n for skinny matrix)

Definition at line 192 of file dbcsr_vector.F.

Here is the caller graph for this function:

◆ create_replicated_row_vec_from_matrix()

subroutine, public dbcsr_vector::create_replicated_row_vec_from_matrix ( type(dbcsr_type)  dbcsr_vec,
type(dbcsr_type)  matrix,
integer  nrow 
)

creates a row vector like object whose blocks can be replicated along the processor col and has the same col dist as the template matrix the returned matrix is fully allocated and all blocks are set to 0 this is not a sparse object (and must never be)

Parameters
dbcsr_vecthe vector object to create must be allocated but not initialized
matrixa dbcsr matrix used as template
nrownumber of vectors in the dbcsr_typeect (1 for vector, n for skinny matrix)

Definition at line 235 of file dbcsr_vector.F.

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