00001 #ifndef VIENNAGRID_CONFIG_SIMPLEX_HPP 00002 #define VIENNAGRID_CONFIG_SIMPLEX_HPP 00003 00004 /* ======================================================================= 00005 Copyright (c) 2011, Institute for Microelectronics, 00006 Institute for Analysis and Scientific Computing, 00007 TU Wien. 00008 00009 ----------------- 00010 ViennaGrid - The Vienna Grid Library 00011 ----------------- 00012 00013 Authors: Karl Rupp rupp@iue.tuwien.ac.at 00014 Josef Weinbub weinbub@iue.tuwien.ac.at 00015 00016 (A list of additional contributors can be found in the PDF manual) 00017 00018 License: MIT (X11), see file LICENSE in the base directory 00019 ======================================================================= */ 00020 00021 00022 #include "viennagrid/topology/triangle.hpp" 00023 #include "viennagrid/topology/tetrahedron.hpp" 00024 00029 namespace viennagrid 00030 { 00032 namespace config 00033 { 00035 struct line_1d 00036 { 00037 typedef double numeric_type; 00038 typedef viennagrid::cartesian_cs<1> coordinate_system_tag; 00039 typedef viennagrid::simplex_tag<1> cell_tag; 00040 }; 00041 00042 00044 struct line_2d 00045 { 00046 typedef double numeric_type; 00047 typedef viennagrid::cartesian_cs<2> coordinate_system_tag; 00048 typedef viennagrid::simplex_tag<1> cell_tag; 00049 }; 00050 00052 struct triangular_2d 00053 { 00054 typedef double numeric_type; 00055 typedef viennagrid::cartesian_cs<2> coordinate_system_tag; 00056 typedef viennagrid::triangle_tag cell_tag; 00057 }; 00058 00059 //3d geometry: 00061 struct line_3d 00062 { 00063 typedef double numeric_type; 00064 typedef viennagrid::cartesian_cs<3> coordinate_system_tag; 00065 typedef viennagrid::simplex_tag<1> cell_tag; 00066 }; 00067 00069 struct triangular_3d 00070 { 00071 typedef double numeric_type; 00072 typedef viennagrid::cartesian_cs<3> coordinate_system_tag; 00073 typedef viennagrid::triangle_tag cell_tag; 00074 }; 00075 00077 struct tetrahedral_3d 00078 { 00079 typedef double numeric_type; 00080 typedef viennagrid::cartesian_cs<3> coordinate_system_tag; 00081 typedef viennagrid::tetrahedron_tag cell_tag; 00082 }; 00083 } 00084 } 00085 00086 00087 #endif