Write a single line that would correspond to a matrix market entry.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=MAX_LINE_LENGTH), | intent(inout) | :: | outstring | The final string is written to this variable. |
||
real(kind=NTREAL), | intent(in) | :: | val1 | The value at that coordinate |
||
real(kind=NTREAL), | intent(in) | :: | val2 | The second value at that coordinate |
||
logical, | intent(in), | optional | :: | add_newline_in | Whether to append a new line to the output (default=F) |