include/deal.II/hp/dof_faces.h

00001 //---------------------------------------------------------------------------
00002 //    @f$Id: dof_faces.h 25345 2012-03-31 08:37:04Z bangerth @f$
00003 //
00004 //    Copyright (C) 2006, 2008, 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__hp_dof_faces_h
00013 #define __deal2__hp_dof_faces_h
00014 
00015 
00016 #include <deal.II/base/config.h>
00017 #include <deal.II/dofs/dof_levels.h>
00018 #include <deal.II/hp/dof_objects.h>
00019 #include <deal.II/hp/fe_collection.h>
00020 
00021 #include <vector>
00022 
00023 DEAL_II_NAMESPACE_OPEN
00024 
00025 namespace hp
00026 {
00027   template <int dim, int spacedim>
00028   class FECollection;
00029 }
00030 
00031 
00032 namespace internal
00033 {
00034   namespace hp
00035   {
00036 
00070     template<int dim>
00071     class DoFFaces
00072     {
00078       private:
00079         DoFFaces();
00080     };
00081 
00089     template<>
00090     class DoFFaces<1>
00091     {
00092       public:
00098         std::size_t memory_consumption () const;
00099     };
00100 
00107     template<>
00108     class DoFFaces<2>
00109     {
00110       public:
00111         internal::hp::DoFObjects<1> lines;
00112 
00118         std::size_t memory_consumption () const;
00119     };
00120 
00128     template<>
00129     class DoFFaces<3>
00130     {
00131       public:
00132         internal::hp::DoFObjects<1> lines;
00133         internal::hp::DoFObjects<2> quads;
00134 
00140         std::size_t memory_consumption () const;
00141     };
00142 
00143   } // namespace hp
00144 
00145 } // namespace internal
00146 
00147 DEAL_II_NAMESPACE_CLOSE
00148 
00149 #endif
00150 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Tue May 22 2012 12:06:07 by doxygen 1.7.3