Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ignacio_b

    Indices in an array

    Hello, I have a huge list of values in an array M(1432188,3). I need to compare two numbers (in the same column), when these two numbers are equal I need to know their indices. Does anyone know how to do that? Is there a built-in function capable of doing that? If someone can help me, it...
  2. ignacio_b

    Shifting array in the vertical direction

    Thanks!!!!
  3. ignacio_b

    Shifting array in the vertical direction

    Hello, I have the following array a(1,:)=(/2.144999981, 2.144999981, 2.144999981/) a(2,:)=(/2.144999981, 2.144999981...
  4. ignacio_b

    sunsets of a set

    Hi Mikrom, Thanks for the detailed explanation, I appreciate it. Regarding the file size, Yes it is huge. I need this code because I am writing a Monte Carlo Simulated Annealing (MC-SA) and I need to explore the arrangements of a particular crystal and each arrangement of 16 numbers [between...
  5. ignacio_b

    sunsets of a set

    Dear xwb's, First of all, the code works perfectly and thanks for that. I just have some doubts due to my lack of experience in FORTRAN. 1.The 'i1' that you used in the loop, it is not specified in the variables section, and as far as I know it should be declared as an integer. It's clear...
  6. ignacio_b

    sunsets of a set

    Hello, First of all thank you so much for your reply and time. I am going to check it and try to understand the meaning of these loops. I know how to use loops but this is the very first time that I see this notation in loops. Thanks again, I really appreciate it.
  7. ignacio_b

    sunsets of a set

    Hello, I have not tried yet, I am a bit new in FORTRAN... so, if you could give me an example it would help me a lot. Thanks and kind regards,
  8. ignacio_b

    sunsets of a set

    Hello everyone, I need to generate all the possible combinations of a set (in my case my set has 32 elements) and I need all possible subsets of 16 elements. So, anyone have any idea how to do this? There are subroutines and I have tried, however, documentation is not clear enough. So, if...
  9. ignacio_b

    generation of different random number

    Hi, this is a code for FORTRAN 90, it will give you 10 random numbers, you can play with the loop. program aleatorio implicit none...
  10. ignacio_b

    periodic boundary conditions (PBC) using cshift function

    Dear all, I have written a code for PBC for a cubic system, however, I need to implement PBC for a crystal lattice with different geometry (not cubic). I read that the cshift function might help, however, i feel lost regarding how to implement PBC using cshift function. My code for the cubic...

Part and Inventory Search

Back
Top