ViennaGrid - The Vienna Grid Library  2.1.0
viennagrid/topology/vertex.hpp
Go to the documentation of this file.
00001 #ifndef VIENNAGRID_TOPOLOGY_POINT_HPP
00002 #define VIENNAGRID_TOPOLOGY_POINT_HPP
00003 
00004 /* =======================================================================
00005    Copyright (c) 2011-2014, Institute for Microelectronics,
00006                             Institute for Analysis and Scientific Computing,
00007                             TU Wien.
00008 
00009                             -----------------
00010                      ViennaGrid - The Vienna Grid Library
00011                             -----------------
00012 
00013    License:      MIT (X11), see file LICENSE in the base directory
00014 ======================================================================= */
00015 
00016 #include "viennagrid/forwards.hpp"
00017 
00022 namespace viennagrid
00023 {
00024 
00026   template <>
00027   struct simplex_tag<0>
00028   {
00029     typedef viennagrid::null_type facet_tag;
00030 
00031     static const int dim = 0;
00032     static std::string name() { return "vertex"; }
00033   };
00034 
00035   //no need to have a separate subelements specialization here -> covered by default case
00036 
00037 }
00038 
00039 #endif
00040