dgfoned.hh

00001 #ifndef DUNE_DGFPARSERONED_HH
00002 #define DUNE_DGFPARSERONED_HH
00003 #include <dune/grid/onedgrid.hh>
00004 #include "dgfparser.hh"
00005 namespace Dune {
00006 template <>
00007 class MacroGrid::Impl<OneDGrid> {
00008   typedef MPIHelper::MPICommunicator MPICommunicatorType;
00009 public:
00010   static OneDGrid* generate(MacroGrid& mg,
00011                             const char* filename,
00012             MPICommunicatorType MPICOMM = MPIHelper::getCommunicator());
00013 };
00014 template <>
00015 struct DGFGridInfo<OneDGrid> {
00016     static int refineStepsForHalf() {return 1;}
00017     static double refineWeight() {return 0.5;}
00018 };
00019 }
00020 #include "dgfoned.cc"
00021 #endif

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