Changeset 267 for trunk/ADOL-C/examples


Ignore:
Timestamp:
Aug 9, 2011 7:39:06 AM (8 years ago)
Author:
kulshres
Message:

allow openmp to work with the new memory manager

needs further testing to ensure consistency of derivatives

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/examples/additional_examples/openmp_exam/liborser.cpp

    r42 r267  
    112112  Nmat = 40;
    113113  N = Nmat+40;
    114   npath = 100;
     114  npath = 30;
    115115
    116116  lambda   = new double[N];
     
    140140      for (i=0; i<Nmat; i++)
    141141        {
    142           z[j][i] = 0.2+j*0.00001;
    143           xp[j][N+i]=  0.2+j*0.00001;
     142          z[j][i] = 0.3;
     143          xp[j][N+i]=  0.3;
    144144        }
    145145    }
     
    171171       
    172172      va >>= v[i];
    173     trace_off();
     173    trace_off(1);
    174174
    175175    for(i=0;i<npath;i++)
Note: See TracChangeset for help on using the changeset viewer.