00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MESHBUILDER_H
00019 #define MESHBUILDER_H
00020
00021
00040 class MeshBuilder {
00041 public:
00042 MeshBuilder();
00043 virtual ~MeshBuilder();
00045 virtual void init_coord(int nof_node) = 0;
00047 virtual void set_coord(int i, double x, double y, double z) = 0;
00049 virtual void finalize_coord() = 0;
00051 virtual void init_tet(int nof_tet) = 0;
00053 virtual void set_tet(int t, int id0, int id1, int id2, int id3, int material) = 0;
00055 virtual void finalize_tet() = 0;
00057 virtual void init_bc(int nof_bc_face) = 0;
00059 virtual void set_bc(int id0, int id1, int id2, int bc_id) = 0;
00061 virtual void finalize_bc(int nof_sym) = 0;
00062 };
00063
00064 #endif