src/meshbuilder.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           meshbuilder.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 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

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