rebl-AMR
phdf5.h
Go to the documentation of this file.
1 #ifndef _PHDF5_H_
2 #define _PHDF5_H_
3 #include "definitions.h"
4 
10 template <size_t N,typename Nvalue,size_t M,typename Mvalue>
11 class Forest;
12 
13 
14 template <size_t N, typename Nvalue,size_t M,typename Mvalue>
15 class Phdf5
16 {
17  private:
19 
20 
21  public:
22  Phdf5(){};
24  void xdmfPolyvertex( integer my_rank, uint appx );
27  void xdmfMultiBlock( Forest<N, Nvalue, M, Mvalue> &F, integer comsize, integer my_rank,uint offset, uint appx );
28 
29 #if(0)
30  void writeHdf5PolyvertexSerial( Tree<N, value> &T, uint appx );
31  void writeP( Tree<N, value> &T, uint iterate );
33  void writeHdf5MultiBlockSerial( Tree<N, value> &T, uint appx );
34  void xdmfMultiBlockSerial( Tree<N, value> &T, uint appx );
35  void write( Tree<N, value> &T, uint iterate );
37  void writeHdf5MultiBlockHighLevel( Tree<N, value> &T, uint appx );
38  void xdmfMultiBlockHighLevel( Tree<N, value> &T, uint appx );
39  void writeH( Tree<N, value> &T, uint appx );
40 #endif
41 ~Phdf5(){};
42 };
43 
44 
45 #if(0)
46 
53 template <size_t N, typename value>
54 class Hdf5XmfV
55 {
56  public:
57  // Hdf5Xmf;
58 
59  void xdmfPolyvertexSerial( Voxel<N, value> &V );
60  void writeHdf5PolyvertexSerial( Voxel<N, value> &V );
61  void writeP( Voxel<N, value> &V );
62  void writeHdf5MultiBlockSerial( Voxel<N, value> &V );
63  void xdmfMultiBlockSerial( Voxel<N, value> &V );
64  void write( Voxel<N, value> &V );
65 };
66 
67 #endif
68 
69 #endif
This Writes out Tree data in hdf5 format in parallel with *.xmf as metadata suitable for paraview and...
Definition: phdf5.h:15
int integer
Definition: definitions.h:39
uint totalnumber
Definition: phdf5.h:18
Phdf5()
Definition: phdf5.h:22
void xdmfMultiBlock(Forest< N, Nvalue, M, Mvalue > &F, integer comsize, integer my_rank, uint offset, uint appx)
This Class Generates an unbalancerd Voxel to improve search by geometry partitioning.
Definition: tree.h:146
This Class Generates a 4:1 balancerd AMR mesh.
Definition: tree.h:16
void xdmfPolyvertex(integer my_rank, uint appx)
unsigned int uint
Definition: definitions.h:38
template class that is a forest of octrees with semi-structured process topology
Definition: forest.h:29
void writePolyvertex(Forest< N, Nvalue, M, Mvalue > &F, uint appx)
void writeMultiBlock(Forest< N, Nvalue, M, Mvalue > &F, uint appx)
~Phdf5()
Definition: phdf5.h:41