/[escript]/trunk/escript/src/Data.cpp
ViewVC logotype

Diff of /trunk/escript/src/Data.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1872 by jfenwick, Mon Oct 13 00:18:55 2008 UTC revision 1873 by jfenwick, Mon Oct 13 04:32:22 2008 UTC
# Line 1052  Data::integrate() const Line 1052  Data::integrate() const
1052    vector<double> integrals(dataPointSize);    vector<double> integrals(dataPointSize);
1053    vector<double> integrals_local(dataPointSize);    vector<double> integrals_local(dataPointSize);
1054  #ifdef PASO_MPI  #ifdef PASO_MPI
1055    AbstractContinuousDomain::asAbstractContinuousDomain(getDomain()).setToIntegrals(integrals_local,*this);    AbstractContinuousDomain::asAbstractContinuousDomain(*getDomain()).setToIntegrals(integrals_local,*this);
1056    // Global sum: use an array instead of a vector because elements of array are guaranteed to be contiguous in memory    // Global sum: use an array instead of a vector because elements of array are guaranteed to be contiguous in memory
1057    double *tmp = new double[dataPointSize];    double *tmp = new double[dataPointSize];
1058    double *tmp_local = new double[dataPointSize];    double *tmp_local = new double[dataPointSize];

Legend:
Removed from v.1872  
changed lines
  Added in v.1873

  ViewVC Help
Powered by ViewVC 1.1.26