dbcsr_scalar Interface

public interface dbcsr_scalar

Encapsulates a scalar.


Contents


Module Procedures

private elemental function dbcsr_scalar_s(scalar) result(encapsulated_scalar)

Sets a scalar in an encapsulated data structure

Arguments

TypeIntentOptionalAttributesName
real(kind=real_4), intent(in) :: scalar

scalar to encapsulate

Return Value type(dbcsr_scalar_type)

encapsulated scalar

private elemental function dbcsr_scalar_d(scalar) result(encapsulated_scalar)

Sets a scalar in an encapsulated data structure

Arguments

TypeIntentOptionalAttributesName
real(kind=real_8), intent(in) :: scalar

scalar to encapsulate

Return Value type(dbcsr_scalar_type)

encapsulated scalar

private elemental function dbcsr_scalar_c(scalar) result(encapsulated_scalar)

Sets a scalar in an encapsulated data structure

Arguments

TypeIntentOptionalAttributesName
complex(kind=real_4), intent(in) :: scalar

scalar to encapsulate

Return Value type(dbcsr_scalar_type)

encapsulated scalar

private elemental function dbcsr_scalar_z(scalar) result(encapsulated_scalar)

Sets a scalar in an encapsulated data structure

Arguments

TypeIntentOptionalAttributesName
complex(kind=real_8), intent(in) :: scalar

scalar to encapsulate

Return Value type(dbcsr_scalar_type)

encapsulated scalar