Commit b0d135c5 authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

prevent usage of copy constructor

parent bacf4afb
......@@ -199,7 +199,7 @@ void DGFunction< ValueType >::evaluateOnMicroElement( const Point3D& coo
const auto polyDegree = polyDegreesPerPrimitive_.at( faceID );
const auto ndofs = uint_c( basis_->numDoFsPerElement( 2, polyDegree ) );
Eigen::Matrix< real_t, 2, 1 > affineCoordinates( { coordinates[0], coordinates[1] } );
Eigen::Matrix< real_t, 2, 1 > affineCoordinates( coordinates[0], coordinates[1] );
std::array< Eigen::Matrix< real_t, 2, 1 >, 3 > affineElementVertices;
auto vertexIndices = facedof::macroface::getMicroVerticesFromMicroFace( elementIndex, faceType );
......@@ -252,7 +252,7 @@ void DGFunction< ValueType >::evaluateOnMicroElement( const Point3D& coo
const auto polyDegree = polyDegreesPerPrimitive_.at( cellID );
const auto ndofs = uint_c( basis_->numDoFsPerElement( 3, polyDegree ) );
Eigen::Matrix< real_t, 3, 1 > affineCoordinates( { coordinates[0], coordinates[1], coordinates[2] } );
Eigen::Matrix< real_t, 3, 1 > affineCoordinates( coordinates[0], coordinates[1], coordinates[2] );
std::array< Eigen::Matrix< real_t, 3, 1 >, 4 > affineElementVertices;
auto vertexIndices = celldof::macrocell::getMicroVerticesFromMicroCell( elementIndex, cellType );
......
Markdown is supported
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