Search:

Type: Posts; User: Surrender

Search: Search took 0.01 seconds.

  1. Replies
    22
    Views
    4,384

    for (t = 1;t

    for (t = 1;t<=maxSamples;t++)
    {

    //Dx Field
    for(x=1;x<xa;x++)
    {
    for(y=1;y<ySize;y++)
    {
    for (z=1;z<zSize;z++)
    {
  2. Replies
    22
    Views
    4,384

    I just compared running a simple simulation with...

    I just compared running a simple simulation with arrays allocated for 40*40*40 in Matlab and C and the difference is astounding
    Matlab: 15 minutes
    C: 19 seconds

    I think I'll roll with the file...
  3. Replies
    22
    Views
    4,384

    Firstly, thanks for all the feedback folks. ...

    Firstly, thanks for all the feedback folks.



    I'm running an electromagnetic simulation. It's a 'leapfrog' algorithm, so each iteration of my code relies on the previous one and all arrays are...
  4. Replies
    22
    Views
    4,384

    Running this on Vista Ultimate 64 and with 4GB of...

    Running this on Vista Ultimate 64 and with 4GB of Ram, I've also tried this on a Ubuntu 64 machine with the same, no dice on either machine.
  5. Replies
    22
    Views
    4,384

    Allocating a number of large 3d arrays in C

    I'm trying to allocate around 30 3d arrays of size 300*300*300.

    I've tried allocating them statically, i.e.:


    float dx[xSize][ySize][zSize];

    With this method I get a crash (upon execution)...
Results 1 to 5 of 5