ConstructEmptyMatrix Interface

public interface ConstructEmptyMatrix

Contents


Module Procedures

private subroutine ConstructEmptyMatrix_ps(this, matrix_dim_, process_grid_in, is_complex_in)

Construct an empty sparse, distributed, matrix.

Arguments

Type IntentOptional AttributesName
type(Matrix_ps), intent(inout) :: this

The matrix to be constructed.

integer, intent(in) :: matrix_dim_

The dimension of the full matrix.

type(ProcessGrid_t), intent(in), optional TARGET:: process_grid_in

A process grid to host the matrix.

logical, intent(in), optional :: is_complex_in

True if you want to use complex numbers.

private subroutine ConstructEmptyMatrix_ps_cp(this, reference_matrix)

Construct an empty sparse, distributed, matrix using another matrix to determine the parameters. Note that no data is copied, the matrix will be empty.

Arguments

Type IntentOptional AttributesName
type(Matrix_ps), intent(inout) :: this

The matrix to be constructed.

type(Matrix_ps), intent(in) :: reference_matrix

The reference matrix to take parameters from.