Skip to content
Snippets Groups Projects
Commit ef7a676c authored by Robert K's avatar Robert K
Browse files

[bugfix] also use StructuredGridFactory for 2d.

parent e1ad86dc
No related branches found
No related tags found
No related merge requests found
......@@ -21,10 +21,10 @@ namespace Dune
};
#if ! HAVE_ALUGRID
template < ALUGridRefinementType refineType, class Comm >
class CreateParallelGrid< ALUGrid< 3,3, Dune::cube, refineType, Comm > >
template < int dim, int dimworld, ALUGridRefinementType refineType, class Comm >
class CreateParallelGrid< ALUGrid< dim, dimworld, Dune::cube, refineType, Comm > >
{
typedef ALUGrid< 3,3 , Dune::cube, refineType, Comm > Grid ;
typedef ALUGrid< dim, dimworld, Dune::cube, refineType, Comm > Grid ;
public:
static GridPtr< Grid > create( const std::string& filename )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment