I\'m trying to run a simulation that involves a large amount of calculations and values.
I\'ve got an issue in that large arrays cause the program to crash before it
adsorption is being allocated on the stack, and it must be overflowing the stack. Hence the error.
adsorption
Use malloc and family to allocate large chunks of data on the heap.
malloc
edit
Or make it static -- @Matt McNabb thanks! :-)