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. Kututo

    FORTRAN check particle distance to centre of an object.

    Apologies again, I have found a solution to this that might be viable. (xP(i) and zP(i) are the particle co-ordinates) IF ((((xP(i)-cylinder_x)**2)+((zP(i)-cylinder_z)**2)) < (cylinder_radius**2)) THEN Could I improve this further? Also, this is going to sound like a really silly question. I...
  2. Kututo

    FORTRAN check particle distance to centre of an object.

    Sorry to post on the thread I made before other people have posted. I have worked out mostly what I need to do. I have 3 co-ordinates for the top and base of the cylinder, such that the base is 1.00, 1.00, 1.00 and the top is 1.00, 3.00, 1.00, with a radius of 1.00 The generated particles have...
  3. Kututo

    FORTRAN check particle distance to centre of an object.

    Hi, I am quite new to FORTRAN and am currently making programs to gain an understanding of it. I am using FORTRAN 90 and Microsoft Visual Studio. I have made a program in FORTRAN 90, this spawns particles in which then land on a plane. What I would like to do is to check to see if any of the...

Part and Inventory Search

Back
Top