Commit 52bb4b8 rube051
committed
1 parent 129dcb0 commit 52bb4b8 Copy full SHA for 52bb4b8
File tree 1 file changed +19
-12
lines changed
1 file changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -1603,18 +1603,25 @@ namespace Dune
1603
1603
geomTypes_.resize (dim + 1 );
1604
1604
for (int codim = 0 ; codim <= dim; ++codim)
1605
1605
{
1606
- if ( hasSimplex ){
1607
- tmp = Dune::GeometryTypes::simplex (dim - codim);
1608
- geomTypes_[ codim ].push_back ( tmp );
1609
- }
1610
- else if ( hasCube ){
1611
- tmp = Dune::GeometryTypes::cube (dim - codim);
1612
- geomTypes_[ codim ].push_back ( tmp );}
1613
- else if (hasPolyhedron){
1614
- tmp = Dune::GeometryTypes::none (dim - codim);
1615
- geomTypes_[ codim ].push_back ( tmp );}
1616
- else
1617
- OPM_THROW (std::runtime_error, " Grid error, unkown geometry type." );
1606
+ if ( hasSimplex )
1607
+ {
1608
+ tmp = Dune::GeometryTypes::simplex (dim - codim);
1609
+ geomTypes_[ codim ].push_back ( tmp );
1610
+ }
1611
+ else if ( hasCube )
1612
+ {
1613
+ tmp = Dune::GeometryTypes::cube (dim - codim);
1614
+ geomTypes_[ codim ].push_back ( tmp );
1615
+ }
1616
+ else if (hasPolyhedron)
1617
+ {
1618
+ tmp = Dune::GeometryTypes::none (dim - codim);
1619
+ geomTypes_[ codim ].push_back ( tmp );
1620
+ }
1621
+ else
1622
+ {
1623
+ OPM_THROW (std::runtime_error, " Grid error, unkown geometry type." );
1624
+ }
1618
1625
}
1619
1626
1620
1627
} // end else of ( grid_.cell_facetag )
You can’t perform that action at this time.
0 commit comments