00001 //--------------------------------------------------------------------------- 00002 // @f$Id: types.h 25345 2012-03-31 08:37:04Z bangerth @f$ 00003 // 00004 // Copyright (C) 2009, 2012 by the deal.II authors 00005 // 00006 // This file is subject to QPL and may not be distributed 00007 // without copyright and license information. Please refer 00008 // to the file deal.II/doc/license.html for the text and 00009 // further information on this license. 00010 // 00011 //--------------------------------------------------------------------------- 00012 #ifndef __deal2__types_h 00013 #define __deal2__types_h 00014 00015 00016 #include <deal.II/base/config.h> 00017 00018 DEAL_II_NAMESPACE_OPEN 00019 00024 namespace types 00025 { 00033 typedef unsigned int subdomain_id_t; 00034 00047 const unsigned int invalid_subdomain_id = static_cast<subdomain_id_t>(-1); 00048 00066 const unsigned int artificial_subdomain_id = static_cast<subdomain_id_t>(-2); 00067 00072 typedef unsigned int global_dof_index; 00073 00078 const global_dof_index invalid_dof_index = static_cast<global_dof_index>(-1); 00079 00085 typedef unsigned char boundary_id_t; 00086 00091 const boundary_id_t internal_face_boundary_id = static_cast<boundary_id_t>(-1); 00092 00097 typedef unsigned char material_id_t; 00098 00103 const material_id_t invalid_material_id = static_cast<material_id_t>(-1); 00104 00105 } 00106 00107 00108 DEAL_II_NAMESPACE_CLOSE 00109 00110 #endif 00111
documentation generated on Wed May 23 2012 12:03:22 by
doxygen
1.7.3