VtkWriter.h 1.95 KB
Newer Older
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
// ============================================================================
// ==                                                                        ==
// == AMDiS - Adaptive multidimensional simulations                          ==
// ==                                                                        ==
// ============================================================================
// ==                                                                        ==
// ==  crystal growth group                                                  ==
// ==                                                                        ==
// ==  Stiftung caesar                                                       ==
// ==  Ludwig-Erhard-Allee 2                                                 ==
// ==  53175 Bonn                                                            ==
// ==  germany                                                               ==
// ==                                                                        ==
// ============================================================================
// ==                                                                        ==
// ==  http://www.caesar.de/cg/AMDiS                                         ==
// ==                                                                        ==
// ============================================================================

/** \file VtkWriter.h */

#ifndef AMDIS_VTKWRITER_H
#define AMDIS_VTKWRITER_H

#include "DataCollector.h"

namespace AMDiS {

  class VtkWriter
  {
  public:
32
33
34
    /** \brief
     * Writes a ParaView-VTK file.
     */
35
36
    static int writeFile(::std::vector<DataCollector*> *dc,
			 const char *name);
37
38
39
40
41
42
43

    /** \brief
     * Adds a new entry to a ParaView animation file.
     */
    static int updateAnimationFile(::std::string valueFilename,
				   ::std::vector< ::std::string > *paraViewAnimationFrames,
				   const char *animationFilename);
44
45
46
47
  };
}

#endif