if (dim>=2)
prm.declare_entry ("Test run", "zoom in",
Patterns::Selection("tensor|zoom in|ball|curved line|"
- "random|jump|L-region"));
+ "random|jump|L-region|slit domain"));
else
prm.declare_entry ("Test run", "zoom in",
Patterns::Selection("tensor|zoom in|random"));
else
if (test=="L-region") test_case = 7;
else
- {
- cerr << "This test seems not to be implemented!" << endl;
- return false;
- };
+ if (test=="slit domain") test_case = 8;
+ else
+ {
+ cerr << "This test seems not to be implemented!" << endl;
+ return false;
+ };
switch (test_case)
{
tria->set_boundary (0, *boundary);
GridGenerator::hyper_L (*tria);
break;
+ case 8:
+ boundary = new StraightBoundary<dim>();
+ tria->set_boundary (0, *boundary);
+ GridGenerator::hyper_cube_slit (*tria);
+ break;
default:
return false;
};
if (dim>=2)
prm.declare_entry ("Test run", "zoom in",
Patterns::Selection("tensor|zoom in|ball|curved line|"
- "random|jump|L-region"));
+ "random|jump|L-region|slit domain"));
else
prm.declare_entry ("Test run", "zoom in",
Patterns::Selection("tensor|zoom in|random"));
else
if (test=="L-region") test_case = 7;
else
- {
- cerr << "This test seems not to be implemented!" << endl;
- return false;
- };
+ if (test=="slit domain") test_case = 8;
+ else
+ {
+ cerr << "This test seems not to be implemented!" << endl;
+ return false;
+ };
switch (test_case)
{
tria->set_boundary (0, *boundary);
GridGenerator::hyper_L (*tria);
break;
+ case 8:
+ boundary = new StraightBoundary<dim>();
+ tria->set_boundary (0, *boundary);
+ GridGenerator::hyper_cube_slit (*tria);
+ break;
default:
return false;
};