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

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

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

revision 1311 by gross, Tue May 15 04:24:51 2007 UTC revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC
# Line 1  Line 1 
 // $Id$  
1    
2  /*  /* $Id$ */
3   ************************************************************  
4   *          Copyright 2006 by ACcESS MNRF                   *  /*******************************************************
5   *                                                          *   *
6   *              http://www.access.edu.au                    *   *           Copyright 2003-2007 by ACceSS MNRF
7   *       Primary Business: Queensland, Australia            *   *       Copyright 2007 by University of Queensland
8   *  Licensed under the Open Software License version 3.0    *   *
9   *     http://www.opensource.org/licenses/osl-3.0.php       *   *                http://esscc.uq.edu.au
10   *                                                          *   *        Primary Business: Queensland, Australia
11   ************************************************************   *  Licensed under the Open Software License version 3.0
12  */   *     http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16  #include "DataTagged.h"  #include "DataTagged.h"
17    
18  #include "DataConstant.h"  #include "DataConstant.h"
19  #include "DataException.h"  #include "DataException.h"
20  #ifdef USE_NETCDF  #ifdef USE_NETCDF
21  #include "netcdfcpp.h"  #include <netcdfcpp.h>
22  #endif  #endif
23    
24  using namespace std;  using namespace std;
# Line 364  DataTagged::toString() const Line 365  DataTagged::toString() const
365      tempView.setOffset(i->second);      tempView.setOffset(i->second);
366      temp << tempView.toString() << endl;      temp << tempView.toString() << endl;
367    }    }
368    return string(temp.str());    return temp.str();
369  }  }
370    
371  DataArrayView::ValueType::size_type  DataArrayView::ValueType::size_type
# Line 566  void Line 567  void
567  DataTagged::dump(const std::string fileName) const  DataTagged::dump(const std::string fileName) const
568  {  {
569     #ifdef PASO_MPI     #ifdef PASO_MPI
570     throw DataException("Error - DataTagged:: dump is not implemented for MPI yet.")     throw DataException("Error - DataTagged:: dump is not implemented for MPI yet.");
571     #endif     #endif
572     #ifdef USE_NETCDF     #ifdef USE_NETCDF
573     const int ldims=DataArrayView::maxRank+1;     const int ldims=DataArrayView::maxRank+1;

Legend:
Removed from v.1311  
changed lines
  Added in v.1312

  ViewVC Help
Powered by ViewVC 1.1.26