Fortran How to solve iteration issues in FORTRAN 90 and allocate values for later use?

  • Thread starter Thread starter Milentije
  • Start date Start date
  • Tags Tags
    Fortran Issues
AI Thread Summary
The discussion revolves around a coding issue related to generating a consistent array, specifically rank2 l(21,1), through an iterative process. The user seeks advice on how to allocate values effectively for later use, questioning whether to create a new array for each iteration. There is a request for code snippets to clarify the problem, indicating that visual examples would help address the issue more effectively. The need for clearer communication and code sharing is emphasized to facilitate troubleshooting.
Milentije
Messages
47
Reaction score
0
I have problems with my code.As a result of calculation I got rank2 l(21,1) array.Due to the THE ITERATIVE PROCESS I will get the same array in every iteration.How to allocate values and use them later.Should I create new array
like
do iter=1,n
lbig(iter,nmax,1)=l(nmax,1)?
 
Technology news on Phys.org
Can you post the section of your code you're talking about? Your description is hard to address without some visuals.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
2
Views
2K
Replies
3
Views
6K
Replies
2
Views
1K
Replies
8
Views
3K
Replies
13
Views
3K
Replies
21
Views
3K
Replies
7
Views
3K
Back
Top