Skip to content
Snippets Groups Projects
Commit 1bdb3091 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Rename IdentityMatrix into IdentityMatrixTag

parent 66452951
No related branches found
No related tags found
1 merge request!4Rename IdentityMatrix into IdentityMatrixTag
Pipeline #75839 failed
......@@ -7,11 +7,11 @@ namespace Dune {
namespace Impl {
// Placeholder type for a trivial identity matrix without any functionality
struct IdentityMatrix {};
struct IdentityMatrixTag {};
// multiplication of an identity-matrix with any real matrix
template <class K, int n, int m>
const FieldMatrix<K,n,m>& AB(const IdentityMatrix& A, const FieldMatrix<K,n,m>& B)
const FieldMatrix<K,n,m>& AB(const IdentityMatrixTag& A, const FieldMatrix<K,n,m>& B)
{
return B;
}
......@@ -33,7 +33,7 @@ struct DefaultLocalGeometry
}
template <class LocalCoordinate>
Impl::IdentityMatrix jacobianTransposed(LocalCoordinate&& local) const
Impl::IdentityMatrixTag jacobianTransposed(LocalCoordinate&& local) const
{
return {};
}
......
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