Skip to content
Snippets Groups Projects
Commit 2305114f authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed RegularMeshOfQuadrilateralsTest

parent 9a0f5875
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ class MeshSuperentityStorageInitializerLayer< MeshConfig,
void addSuperentity( DimensionsTag, GlobalIndexType entityIndex, GlobalIndexType superentityIndex)
{
//std::cout << "Adding superentity with " << DimensionsTag::value << " dimensions of entity with " << EntityDimensions::value << " dimensions ... " << std::endl;
//std::cout << "Adding superentity with " << DimensionsTag::value << " dimensions of entity with " << EntityDimensions::value << " dimensions: entityIndex = " << entityIndex << ", superentityIndex = " << superentityIndex << std::endl;
auto& indexSet = this->dynamicStorageNetwork[ entityIndex ];
Assert( indexSet.count( superentityIndex ) == 0,
std::cerr << "Superentity " << superentityIndex << " with dimensions " << DimensionsTag::value
......
......@@ -439,8 +439,8 @@ TEST( MeshTest, RegularMeshOfQuadrilateralsTest )
{
const IndexType vertex0 = j * ( xSize + 1 ) + i;
const IndexType vertex1 = j * ( xSize + 1 ) + i + 1;
const IndexType vertex2 = ( j + 1 ) * ( xSize + 1 ) + i;
const IndexType vertex3 = ( j + 1 ) * ( xSize + 1 ) + i + 1;
const IndexType vertex2 = ( j + 1 ) * ( xSize + 1 ) + i + 1;
const IndexType vertex3 = ( j + 1 ) * ( xSize + 1 ) + i;
meshBuilder.getCellSeed( cellIdx ).setCornerId( 0, vertex0 );
meshBuilder.getCellSeed( cellIdx ).setCornerId( 1, vertex1 );
......@@ -459,7 +459,7 @@ TEST( MeshTest, RegularMeshOfQuadrilateralsTest )
TEST( MeshTest, RegularMeshOfHexahedronsTest )
{
using HexahedronMeshEntityType = MeshEntity< TestHexahedronMeshConfig, MeshHexahedronTopology >;
using TriangleMeshEntityType = typename HexahedronMeshEntityType::SubentityTraits< 2 >::SubentityType;
using QuadrilateralMeshEntityType = typename HexahedronMeshEntityType::SubentityTraits< 2 >::SubentityType;
using EdgeMeshEntityType = typename HexahedronMeshEntityType::SubentityTraits< 1 >::SubentityType;
using VertexMeshEntityType = typename HexahedronMeshEntityType::SubentityTraits< 0 >::SubentityType;
......
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