- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jim,
Thank you for the suggestion. I have tried it out and it is actually slightly slower.
The results from the program are:
Time for derived type test: 1.703125 seconds
Time for modified test: 1.765265 seconds
Time for modified test: 1.765265 seconds
For comparison the array takes 0.46875 seconds
These timings are for 100 cycles with 100,000 particles. The test machine is a laptop with a Pentium M 2.0GHz processor running Windows XP. I am using the version 9.0 compiler, as I am new to it I am just using the default settings for the Release version.
James
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page