dgfyasp.hh

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

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