MONC
|
Converts data types to logical. More...
Private Member Functions | |
logical function, pointer | generic_to_logical (generic, makecopy) |
Converts a generic to a logical. More... | |
logical function | string_to_logical (string) |
Converts a string to a logical. More... | |
logical function | integer_to_logical (input) |
Converts an integer to a logical. More... | |
logical function | real_to_logical (input) |
Converts a real to a logical. More... | |
Converts data types to logical.
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 logical |
copyflag | For generic data only: Whether to use a copy of the structured data or not |
Definition at line 71 of file conversions.F90.
|
private |
Converts a generic to a logical.
generic | The generic to convert into a logical |
makecopy | Whether to use a copy of the generic data or not |
Definition at line 352 of file conversions.F90.
|
private |
Converts an integer to a logical.
input | The integer to convert into a logical |
Definition at line 386 of file conversions.F90.
|
private |
Converts a real to a logical.
input | The real to convert into a logical |
Definition at line 399 of file conversions.F90.
|
private |
Converts a string to a logical.
string | The string to convert into a logical (case sensitive) |
Definition at line 372 of file conversions.F90.