dgfug.hh

00001 #ifndef DUNE_DGFPARSERUG_HH
00002 #define DUNE_DGFPARSERUG_HH
00003 // only include if UG is used 
00004 #if defined ENABLE_UG 
00005 #include <dune/grid/uggrid.hh>
00006 #include "dgfparser.hh"
00007 namespace Dune {
00008 template <int dim>
00009 class MacroGrid::Impl<UGGrid<dim> > {
00010   typedef MPIHelper::MPICommunicator MPICommunicatorType;
00011 public:
00012   static UGGrid<dim>* generate(MacroGrid& mg,
00013      const char* filename, MPICommunicatorType MPICOMM = MPIHelper::getCommunicator() );
00014 };
00015 template <int dimw>
00016 struct DGFGridInfo< UGGrid<dimw> > {
00017     static int refineStepsForHalf() {return 1;}
00018     static double refineWeight() {return -1.;}
00019 };
00020 }
00021 #include "dgfug.cc"
00022 #endif
00023 #endif

Generated on 12 Dec 2007 with Doxygen (ver 1.5.1)