|
DCS
a Driven-Cavity Open source Simulator code
|
Portable kind-parameters module. More...
Collaboration diagram for IR_Precision:Data Types | |
| interface | ir_precision::bit_size |
| Overloading of the intrinsic "bit_size" function for computing the number of bits of (also) real and character variables; variable, intent(IN):: n input; integer(I1P), intent(OUT):: bits output number of bits of input number. More... | |
| interface | ir_precision::byte_size |
| Overloading of the "byte_size" function for computing the number of bytes. More... | |
| interface | ir_precision::str |
| Procedure for converting number, real and integer, to string (number to string type casting); logical, intent(IN), optional:: no_sign flag for do not write sign; number, intent(IN):: n input number; string, intent(OUT):: str output string. More... | |
| interface | ir_precision::strz |
| Procedure for converting number, integer, to string, prefixing with the right number of zeros (number to string type casting with zero padding); number, intent(IN), optional:: no_zpad number of padding zeros; number, intent(IN):: n input number; string, intent(OUT):: str output string. More... | |
| interface | ir_precision::cton |
| Procedure for converting string to number, real or initeger, (string to number type casting); string, intent(IN):: str input string; number, intent(OUT):: n output number. More... | |
| interface | ir_precision::bstr |
| Procedure for converting number, real and integer, to bit-string (number to bit-string type casting); number, intent(IN):: n input number; string, intent(OUT):: bstr output bit-string. More... | |
| interface | ir_precision::bcton |
| Procedure for converting bit-string to number, real or initeger, (bit-string to number type casting); string, intent(IN):: bstr input bit-string; number, intent(OUT):: n output number. More... | |
Portable kind-parameters module.
| interface ir_precision::bit_size |
Overloading of the intrinsic "bit_size" function for computing the number of bits of (also) real and character variables; variable, intent(IN):: n input; integer(I1P), intent(OUT):: bits output number of bits of input number.
Definition at line 249 of file IR_Precision.f90.
| interface ir_precision::byte_size |
Overloading of the "byte_size" function for computing the number of bytes.
Definition at line 260 of file IR_Precision.f90.
Private Member Functions | |
| elemental integer(i1p) function | byte_size_i8p (i) |
| Procedure for computing the number of bytes of an integer variable. More... | |
| elemental integer(i1p) function | byte_size_i4p (i) |
| Procedure for computing the number of bytes of an integer variable. More... | |
| elemental integer(i1p) function | byte_size_i2p (i) |
| Procedure for computing the number of bytes of an integer variable. More... | |
| elemental integer(i1p) function | byte_size_i1p (i) |
| Procedure for computing the number of bytes of an integer variable. More... | |
|
private |
Procedure for computing the number of bytes of an integer variable.
| [in] | i | Integer variable whose number of bytes must be computed. |
Definition at line 450 of file IR_Precision.f90.
|
private |
Procedure for computing the number of bytes of an integer variable.
| [in] | i | Integer variable whose number of bytes must be computed. |
Definition at line 464 of file IR_Precision.f90.
|
private |
Procedure for computing the number of bytes of an integer variable.
| [in] | i | Integer variable whose number of bytes must be computed. |
Definition at line 478 of file IR_Precision.f90.
|
private |
Procedure for computing the number of bytes of an integer variable.
| [in] | i | Integer variable whose number of bytes must be computed. |
Definition at line 492 of file IR_Precision.f90.
| interface ir_precision::str |
Procedure for converting number, real and integer, to string (number to string type casting); logical, intent(IN), optional:: no_sign flag for do not write sign; number, intent(IN):: n input number; string, intent(OUT):: str output string.
Definition at line 278 of file IR_Precision.f90.
| interface ir_precision::strz |
Procedure for converting number, integer, to string, prefixing with the right number of zeros (number to string type casting with zero padding); number, intent(IN), optional:: no_zpad number of padding zeros; number, intent(IN):: n input number; string, intent(OUT):: str output string.
Definition at line 296 of file IR_Precision.f90.
Private Member Functions | |
| elemental character(di8p) function | strz_i8p (nz_pad, n) |
| Procedure for converting integer to string, prefixing with the right number of zeros. More... | |
| elemental character(di4p) function | strz_i4p (nz_pad, n) |
| Procedure for converting integer to string, prefixing with the right number of zeros. More... | |
| elemental character(di2p) function | strz_i2p (nz_pad, n) |
| Procedure for converting integer to string, prefixing with the right number of zeros. More... | |
| elemental character(di1p) function | strz_i1p (nz_pad, n) |
| Procedure for converting integer to string, prefixing with the right number of zeros. More... | |
|
private |
Procedure for converting integer to string, prefixing with the right number of zeros.
This function achieves casting of integer to string.
| [in] | nz_pad | Number of zeros padding. |
| [in] | n | Integer to be converted. |
Definition at line 791 of file IR_Precision.f90.
|
private |
Procedure for converting integer to string, prefixing with the right number of zeros.
This function achieves casting of integer to string.
| [in] | nz_pad | Number of zeros padding. |
| [in] | n | Integer to be converted. |
Definition at line 809 of file IR_Precision.f90.
|
private |
Procedure for converting integer to string, prefixing with the right number of zeros.
This function achieves casting of integer to string.
| [in] | nz_pad | Number of zeros padding. |
| [in] | n | Integer to be converted. |
Definition at line 827 of file IR_Precision.f90.
|
private |
Procedure for converting integer to string, prefixing with the right number of zeros.
This function achieves casting of integer to string.
| [in] | nz_pad | Number of zeros padding. |
| [in] | n | Integer to be converted. |
Definition at line 845 of file IR_Precision.f90.
| interface ir_precision::cton |
Procedure for converting string to number, real or initeger, (string to number type casting); string, intent(IN):: str input string; number, intent(OUT):: n output number.
Definition at line 306 of file IR_Precision.f90.
| interface ir_precision::bstr |
Procedure for converting number, real and integer, to bit-string (number to bit-string type casting); number, intent(IN):: n input number; string, intent(OUT):: bstr output bit-string.
Definition at line 322 of file IR_Precision.f90.
| interface ir_precision::bcton |
Procedure for converting bit-string to number, real or initeger, (bit-string to number type casting); string, intent(IN):: bstr input bit-string; number, intent(OUT):: n output number.
Definition at line 338 of file IR_Precision.f90.