rebl-AMR
templatePhdf5.h
Go to the documentation of this file.
1 #ifndef _TEMPLATEPHDF5_H_
2 #define _TEMPLATEPHDF5_H_
3 #include "definitions.h"
4 
10 template <size_t N,typename Nvalue,size_t M,typename Mvalue, class T>
12 
13 
14 template <size_t N, typename Nvalue, size_t M, typename Mvalue, class T>
16 {
17  private:
19 
20 
21  public:
23  // void writePolyvertex( templateForest<N, Nvalue, M, Mvalue, T> &F, uint appx ); /*!< writes only the centeroids of the mesh, appx sets the appendix as string for the output file */
25 // void writePolyvertex( T &F, uint appx ); /*!< writes only the centeroids of the mesh, appx sets the appendix as string for the output file */
26 
27  void xdmfPolyvertex( integer my_rank, uint appx );
28 
30 
31 // for the weak scaling where we hve billions of elements, multiblock might overflow due to the growth of the text file
32 // beyond buffer limits
33 //
34  void xdmfMultiBlock(TemplateForest<N, Nvalue, M, Mvalue,T> &F, integer comsize ,integer my_rank, uint offset,uint appx );
35 
36 
37 #if(0)
38 
39 
42  void xdmfMultiBlock( Forest<N, Nvalue, M, Mvalue> &F, integer comsize, integer my_rank,uint offset, uint appx );
43  void writeHdf5PolyvertexSerial( Tree<N, value> &T, uint appx );
44  void writeP( Tree<N, value> &T, uint iterate );
46  void writeHdf5MultiBlockSerial( Tree<N, value> &T, uint appx );
47  void xdmfMultiBlockSerial( Tree<N, value> &T, uint appx );
48  void write( Tree<N, value> &T, uint iterate );
50  void writeHdf5MultiBlockHighLevel( Tree<N, value> &T, uint appx );
51  void xdmfMultiBlockHighLevel( Tree<N, value> &T, uint appx );
52  void writeH( Tree<N, value> &T, uint appx );
53 #endif
55 };
56 
57 #endif
~templatePhdf5()
Definition: templatePhdf5.h:54
void xdmfPolyvertex(integer my_rank, uint appx)
Definition: templatePhdf5.cpp:280
void writePolyvertex(TemplateForest< N, Nvalue, M, Mvalue, T > &F, uint appx)
Definition: templatePhdf5.cpp:11
int integer
Definition: definitions.h:39
Definition: templatePhdf5.h:11
Template Class designed to unify tree and full_tree topologies.
Definition: templateForest.h:22
This Class Generates a 4:1 balancerd AMR mesh.
Definition: tree.h:16
void writeMultiBlock(TemplateForest< N, Nvalue, M, Mvalue, T > &F, uint appx)
Definition: templatePhdf5.cpp:372
uint totalnumber
Definition: templatePhdf5.h:18
unsigned int uint
Definition: definitions.h:38
template class that is a forest of octrees with semi-structured process topology
Definition: forest.h:29
Definition: templatePhdf5.h:15
templatePhdf5()
Definition: templatePhdf5.h:22
void xdmfMultiBlock(TemplateForest< N, Nvalue, M, Mvalue, T > &F, integer comsize, integer my_rank, uint offset, uint appx)
Definition: templatePhdf5.cpp:924