MONC
|
Converts data types to real. More...
Private Member Functions | |
real function, pointer | generic_to_real (generic, makecopy) |
Converts a generic to a real. If this is infact an integer then will do a conversion and allocate pointed to this. More... | |
real function | string_to_real (string) |
Converts a string to a real. More... | |
real function | integer_to_real (input) |
Converts an integer to a real. More... | |
real function | logical_to_real (input) |
Converts a logical to a real. More... | |
Converts data types to real.
For the generic input then a flag indicating whether to make a copy of the underlying generic data or not is required. For all other data this copy is made automatically and no flag is required
data | The data to convert into a real |
copyflag | For generic data only: Whether to use a copy of the structured data or not |
Definition at line 60 of file conversions.F90.
|
private |
Converts a generic to a real. If this is infact an integer then will do a conversion and allocate pointed to this.
generic | The generic to convert into a real |
makecopy | Whether to use a copy of the generic data or not |
Definition at line 434 of file conversions.F90.
|
private |
Converts an integer to a real.
input | The integer to convert into a real |
Definition at line 470 of file conversions.F90.
|
private |
Converts a logical to a real.
input | The logical to convert into a real |
Definition at line 479 of file conversions.F90.
|
private |
Converts a string to a real.
string | The string to convert into a real |
Definition at line 457 of file conversions.F90.