CopyMatrix Interface

public interface CopyMatrix

Contents


Module Procedures

private subroutine CopyMatrix_lsr(matA, matB)

Copy a sparse matrix in a safe way.

Arguments

Type IntentOptional AttributesName
type(Matrix_lsr), intent(in) :: matA

Matrix to copy

type(Matrix_lsr), intent(inout) :: matB

matB = matA

private subroutine CopyMatrix_lsc(matA, matB)

Copy a sparse matrix in a safe way.

Arguments

Type IntentOptional AttributesName
type(Matrix_lsc), intent(in) :: matA

Matrix to copy

type(Matrix_lsc), intent(inout) :: matB

matB = matA