September 1st, 2010 09:47 PM
I wrote code to calculate spherical harmonics years ago. The problem I had was rounding error. My guess is that rounding error is your problem as well. I am not going to post my code, because I...
September 1st, 2010 09:22 PM
Thanks for your responses. I have done some tests.
I believe Paul suggested I run the following code.
# include <iostream>
# include <fstream>
# include <string>
September 1st, 2010 10:56 AM
I have told you the program crashes. I am not the one killing the program. I am running this on a 32-bit linux machine with 1 GB of RAM. I am running this on a computer cluster and when I submit...
August 31st, 2010 04:22 PM
August 31st, 2010 01:01 PM
My apologies for posting code that does not work. The code I posted was in two source files, and I thought it would be more convenient to post them as one file, but I copied and pasted the wrong...
August 30th, 2010 10:48 PM
I am trying to write a function which attempts to allocate memory 3d vectors and returns false if it is unable to allocate the memory. It is not working. I have pasted the code below.
January 14th, 2007 03:56 PM
I am trying to take numbers from a text file and then do some math with them, but I am having some difficulty saving the numbers from the text to an array. Every time it saves a number from the...