/[escript]/trunk/tools/escriptconvert/escriptconvert.cpp
ViewVC logotype

Diff of /trunk/tools/escriptconvert/escriptconvert.cpp

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

revision 2844 by caltinay, Tue Dec 8 00:30:13 2009 UTC revision 2845 by caltinay, Fri Jan 15 03:10:42 2010 UTC
# Line 140  int main(int argc, char** argv) Line 140  int main(int argc, char** argv)
140          if (nTimesteps > 1)          if (nTimesteps > 1)
141              cout << "T = " << timeStep << endl;              cout << "T = " << timeStep << endl;
142    
143          EscriptDataset* ds = new EscriptDataset();          EscriptDataset* ds;
144    #if HAVE_MPI
145            ds = new EscriptDataset(MPI_COMM_WORLD);
146    #else
147            ds = new EscriptDataset();
148    #endif
149    
150          if (writeMeshOnce && timeStep > 0) {          if (writeMeshOnce && timeStep > 0) {
151              if (!ds->loadNetCDF(meshFromTzero, varFilesTS, varNames)) {              if (!ds->loadNetCDF(meshFromTzero, varFilesTS, varNames)) {

Legend:
Removed from v.2844  
changed lines
  Added in v.2845

  ViewVC Help
Powered by ViewVC 1.1.26