Fortran Can Fortran be used to create a video of changing arrays?

AI Thread Summary
The discussion revolves around creating a video representation of changing arrays generated by a Fortran program that outputs to text or data files. The user has attempted to use VMD but encountered difficulties with file compatibility. The arrays vary in size from 10x10 to 100x100, and the user seeks an efficient method to visualize these changes without manually taking screenshots for each array. Suggestions include using terminal output to display the arrays, employing a for loop to control the display and timing, and utilizing ANSI codes to clear the screen before each snapshot. Recording the terminal output directly is also mentioned as a potential solution, depending on the user's graphics card capabilities.
Lukejambo
Messages
13
Reaction score
0
Hi, using Fortran that writes a large amount of arrays to a text/dat file.

Is there some kind of software where I can create a video of these arrays changing from beginning to end?

I've tried using VMD, but cannot get dat/text files working on it.

Any input will be appreciated.
 
Technology news on Phys.org
What is the size of the arrays?

It seems you could write them the terminal screen and blank the screen between snapshots to show them changing in place.
 
I need to change the size of the arrays each time I run the programme but they vary from 10x10 to 100x100.

Will I need to snapshot the screen manually? I can have over 100 arrays written to the file and it'll take a while to screen shot each one manually.
 
You could just record the video output depending on the graphics card you have.
 
Okay thanks and I'd need to do this in the terminal, is there a way of recording each array snapshot from a dat/text file?
 
I would use a for loop to control calculation and then display and then sleep for a second or less and then repeat.

Prior to each snapshot display I'd clear the screen using an ANSI screen code printed to the screen.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...

Similar threads

Replies
2
Views
2K
Replies
11
Views
3K
Replies
5
Views
9K
Replies
12
Views
3K
Replies
16
Views
2K
Replies
10
Views
6K
Replies
5
Views
3K
Back
Top