(git:c5411e0)
Loading...
Searching...
No Matches
cp_log_handling::cp_to_string Interface Reference

Public Member Functions

character(len=25) function cp_int_to_string (i, fmt)
 converts an int to a string (should be a variable length string, but that does not work with all the compilers)
 
character(len=25) function cp_real_dp_to_string (val, fmt)
 Convert a double precision real in a string (should be a variable length string, but that does not work with all the compilers)
 
elemental character(len=1) function cp_logical_to_string (val)
 convert a logical in a string ('T' or 'F')
 

Detailed Description

Definition at line 90 of file cp_log_handling.F.

Member Function/Subroutine Documentation

◆ cp_int_to_string()

character(len=25) function cp_log_handling::cp_to_string::cp_int_to_string ( integer, intent(in)  i,
character(len=*), optional  fmt 
)

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

Parameters
ithe integer to convert
fmtOptional format string
Returns
...
History
4.2002 revised [fawzi]
Author
Fawzi Mohamed, MK

Definition at line 735 of file cp_log_handling.F.

Here is the call graph for this function:

◆ cp_real_dp_to_string()

character(len=25) function cp_log_handling::cp_to_string::cp_real_dp_to_string ( real(kind=dp), intent(in)  val,
character(len=*), optional  fmt 
)

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

Parameters
valthe number to convert
fmtOptional format string
Returns
...
History
4.2002 revised [fawzi]
Author
Fawzi Mohamed, MK

Definition at line 772 of file cp_log_handling.F.

Here is the call graph for this function:

◆ cp_logical_to_string()

elemental character(len=1) function cp_log_handling::cp_to_string::cp_logical_to_string ( logical, intent(in)  val)

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

Parameters
valthe number to convert
Returns
...
Author
fawzi

Definition at line 797 of file cp_log_handling.F.


The documentation for this interface was generated from the following file: