dbcsr_conform_scalar Interface

public interface dbcsr_conform_scalar

Module Procedures

private function make_conformant_scalar_d(scalar, matrix) result(encapsulated)

Encapsulates a given scalar value and makes it conform with the type of the matrix.

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), intent(in) :: scalar
type(dbcsr_type), intent(in) :: matrix

Return Value type(dbcsr_scalar_type)

private function make_conformant_scalar_s(scalar, matrix) result(encapsulated)

Encapsulates a given scalar value and makes it conform with the type of the matrix.

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), intent(in) :: scalar
type(dbcsr_type), intent(in) :: matrix

Return Value type(dbcsr_scalar_type)

private function make_conformant_scalar_c(scalar, matrix) result(encapsulated)

Encapsulates a given scalar value and makes it conform with the type of the matrix.

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), intent(in) :: scalar
type(dbcsr_type), intent(in) :: matrix

Return Value type(dbcsr_scalar_type)

private function make_conformant_scalar_z(scalar, matrix) result(encapsulated)

Encapsulates a given scalar value and makes it conform with the type of the matrix.

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), intent(in) :: scalar
type(dbcsr_type), intent(in) :: matrix

Return Value type(dbcsr_scalar_type)