Skip to content
Snippets Groups Projects
Commit 2ba1c61e authored by Gregor Weiss's avatar Gregor Weiss
Browse files

Bug fix

parent d9b4b722
No related merge requests found
......@@ -106,7 +106,7 @@ Foam::sliceMesh::sliceMesh( const std::vector<Foam::label>& sliceNeighbours ) :
Foam::sliceMesh::sliceMesh( const polyMesh& mesh ) :
permutationToSlice_{ createSlicePermutation( mesh.faceOwner() ) }
{
Foam::faceList sliceFaces{ mesh.allFaces() },
Foam::faceList sliceFaces{ mesh.allFaces() };
mapToSlice( sliceFaces );
createPointPermutation( sliceFaces, mesh.nPoints() );
}
......@@ -116,7 +116,7 @@ Foam::sliceMesh::sliceMesh( const Foam::labelList& faceOwner,
const Foam::label& nPoints ) :
permutationToSlice_{ createSlicePermutation( faceOwner ) }
{
Foam::faceList sliceFaces{ allFaces },
Foam::faceList sliceFaces{ allFaces };
mapToSlice( sliceFaces );
createPointPermutation( sliceFaces, nPoints );
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment