src/tetmeshbuilder.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           tetmeshbuilder.h  -  description
00003                              -------------------
00004     begin                : Fri Dec 12 2003
00005     copyright            : (C) 2003 by Roman Geus
00006     email                : roman.geus@psi.ch
00007 ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef TETMESHBUILDER_H
00019 #define TETMESHBUILDER_H
00020 
00021 #include "tetmesh/tetmesh.h"
00022 #include "tetmesh/paralleltetmesh.h"
00023 #include "meshbuilder.h"
00024 
00029 class TetMeshBuilder : public MeshBuilder  {
00030 public: 
00031     TetMeshBuilder();
00032     TetMeshBuilder(MPI_Comm _comm); //Dag was here
00034     ~TetMeshBuilder();
00036     virtual void init_coord(int nof_node);
00038     virtual void set_coord(int i, double x, double y, double z);
00040     virtual void finalize_coord();
00042     virtual void init_tet(int nof_tet);
00044     virtual void set_tet(int t, int id0, int id1, int id2, int id3, int material);
00046     virtual void finalize_tet();
00048     virtual void init_bc(int nof_bc_face);
00050     virtual void set_bc(int id0, int id1, int id2, int bc_id);
00052     virtual void finalize_bc(int nof_sym);
00054     virtual mesh::TetMesh* get_mesh()
00055     { return _mesh; }
00056 private:
00057     mesh::TetMesh* _mesh;
00058 
00059 };
00060 
00061 #endif

Generated on Fri Oct 26 13:35:13 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7