00001
00014 #include <stdlib.h>
00015 #include <stdio.h>
00016 #include <iostream>
00017 #include <ostream>
00018 #include "mpi.h"
00019 #include "hdf5.h"
00020 #include <Epetra_Comm.h>
00021 #include <Epetra_MpiComm.h>
00022 #include <Epetra_Map.h>
00023 #include <Epetra_Vector.h>
00024 #include <Epetra_MultiVector.h>
00025 #include <Epetra_SerialDenseVector.h>
00026 #include <Epetra_Import.h>
00027 #include <Epetra_Export.h>
00028 #include <Teuchos_ParameterList.hpp>
00029 #include "rlog/rlog.h"
00030 #include "colarray/matrix.h"
00031 #include "colarray/vector.h"
00032 #include "tetmesh.h"
00033 #include "femaxmesh.h"
00034 #include "nedelecelement.h"
00035 #include "nedelecelement1.h"
00036 #include "nedelecelement2.h"
00037 #include "nedelecmesh.h"
00038 #include "paralleltetmesh.h"
00039 #include "vector3.h"
00040 #include "vector4.h"
00041 #include "fmxxtopology.h"
00042 #include "fmxxphysicomath.h"
00043 #include "nonsciconst.h"
00044 #include "dbgsupport.h"
00045
00046
00047 #ifndef H5_PREPROC_TOOLS_H_
00048 #define H5_PREPROC_TOOLS_H_
00049
00050
00051 void h5_read_ansys_generated_input_file(std::string filename,
00052 unsigned int nelem,
00053 unsigned int npoint,
00054 unsigned int nbndtriangle,
00055 unsigned int nmaterial,
00056 double** point,
00057 unsigned int** tetvertexid,
00058 unsigned int** bndtriangleid,
00059 double** material
00060 );
00061
00062
00063 void h5_read_gmsh_tetrahedral_mesh(std::string filename,
00064 unsigned int nelem,
00065 unsigned int npoint,
00066 unsigned int nbndtriangle,
00067 unsigned int nmaterial,
00068 double** point,
00069 unsigned int** tetvertexid,
00070 unsigned int** bndtriangleid,
00071 double** material
00072 );
00073
00074
00075 void h5_write_hdf5electromagnetic_file(std::string filename,
00076 unsigned int nelem,
00077 unsigned int npoint,
00078 unsigned int nbndtriangle,
00079 unsigned int nmaterial,
00080 double** point,
00081 unsigned int** tetvertexid,
00082 unsigned int** bndtriangleid,
00083 double** material
00084 );
00085
00086
00087 void h5_write_femaxx_legac_hdf5_input_file(std::string filename,
00088 unsigned int nelem,
00089 unsigned int npoint,
00090 unsigned int nbndtriangle,
00091 unsigned int nmaterial,
00092 double** point,
00093 unsigned int** tetvertexid,
00094 unsigned int** bndtriangleid,
00095 double** material
00096 );
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113 #endif