aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/io.hh
blob: 97b8376a41604b58aac2659179cd9fb1352c9202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/***************************************************************************
                          io.hh  -  I/O routines
                             -------------------
    begin                : Sun Jun 11 2000
    copyright            : (C) 2000 by Erik Schnetter
    email                : schnetter@astro.psu.edu

    $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/Attic/io.hh,v 1.2 2002/05/05 22:17:03 schnetter Exp $

 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef IO_HH
#define IO_HH

#include <cassert>
#include <string>

#include <AMRwriter.hh>
#include <H5IO.hh>
#include <HDFIO.hh>
#include <IEEEIO.hh>
#include <IO.hh>

#include "data.hh"
#include "defs.hh"

template<class T, int D>
class io {
  
  enum iotype { ieee, hdf, h5 };
  
//   template<int DD>
//   void write_ascii (const data<T,D>& d, const string name,
//                     const vect<int,DD>& dirs);
  
//   static void write_ASCII_1D (const data<T,D>& d, const string name,
// 			      const int dir);
//   static void write_ASCII_2D (const data<T,D>& d, const string name,
// 			      const int dir1, const int dir2);
//   static void write_ASCII_3D (const data<T,D>& d, const string name);
  
//   static void write_FlexIO (const data<T,D>& d, const string name,
// 			    const iotype iot);
};



#endif // IO_HH