Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

GSRM

$
0
0

Steve:

I started looking at the second program by Professor Bird, called GSRM.

The program compiled first time on the 2015 beta in debug mode.

Easy well written code to follow and amend.  I now have an array on double precision numbers, 1801 by 3601 exactly.

It is straightforward in  C# to draw the output data on a jpg file, I do this a lot. In Fortran I used to draw as DXF Files, but C# is so easy being able to poke the values into the points on the JPG file.

1. Can I write to a JPG type format in Fortran? I will convert the reals to integer steps as required.

2. If not, what is the "easiest" way to transfer the array from Fortran to C#. I have several working programs that do sort of this stuff, but it is horribly convoluted, is there an easy way. the alternative is to write to a file and then read it, but that is not nice.  Having the pictures makes it a lot easier to understand the output compared to an array of 1800 by 3600 reals.

JMN


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>