albertagrid/capabilities.hh

00001 #ifndef DUNE_ALBERTA_CAPABILITIES_HH
00002 #define DUNE_ALBERTA_CAPABILITIES_HH
00003 
00004 #include <dune/grid/common/capabilities.hh>
00005 
00006 namespace Dune
00007 {
00008 
00009   // External Forward Declarations
00010   // -----------------------------
00011 
00012   template< int dim, int dimworld >
00013   class AlbertaGrid;
00014 
00015 
00016 
00017   // Capabilities
00018   // ------------
00019 
00020   namespace Capabilities
00021   {
00022   
00026     template< int dim, int dimworld, int codim >
00027     struct hasEntity< AlbertaGrid< dim, dimworld >, codim >
00028     {
00029       static const bool v = true;
00030     };
00031 
00036     template< int dim, int dimworld >
00037     struct isLevelwiseConforming< AlbertaGrid< dim, dimworld > >
00038     {
00039       static const bool v = false;
00040     };
00041     
00045     template< int dim, int dimworld >
00046     struct isLeafwiseConforming< AlbertaGrid< dim, dimworld > >
00047     {
00048       static const bool v = true;
00049     };
00050 
00054     template< int dim, int dimworld >
00055     struct hasHangingNodes< AlbertaGrid< dim, dimworld > >
00056     {
00057       static const bool v = false;
00058     };
00059     
00063     template< int dim, int dimworld >
00064     struct hasBackupRestoreFacilities< AlbertaGrid< dim, dimworld > >
00065     {
00066       static const bool v = true;
00067     };
00068 
00069   }
00070 
00071 }
00072 
00073 #endif

Generated on Sun Nov 15 22:28:39 2009 for dune-grid by  doxygen 1.5.6