dbcsr_to_string Interface

public interface dbcsr_to_string

Module Procedures

private function dbcsr_int_to_string(i) result(res)

converts an int to a string (should be a variable length string, but that does not work with all the compilers)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: i

the integer to convert

Return Value character(len=6)

private function dbcsr_real_dp_to_string(val) result(res)

convert a double precision real in a string (should be a variable length string, but that does not work with all the compilers)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: val

the number to convert

Return Value character(len=11)

private function dbcsr_logical_to_string(val) result(res)

convert a logical in a string ('T' or 'F')

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: val

the number to convert

Return Value character(len=1)