Commit 409fdb34 by Praetorius, Simon

### small corrections in MatrixView

parent 3d4c1fc6
 ... ... @@ -126,10 +126,10 @@ namespace MatVec { return C; } template class MatrixView> template class MatrixView> { using Matrix = DiagonalMatrix; using Matrix = DiagonalMatrix; using size_type = typename Matrix::size_type; struct RowView ... ... @@ -145,7 +145,7 @@ namespace MatVec { }; public: MatrixView(DiagonalMatrix const& mat) MatrixView(Matrix const& mat) : mat_(mat) {} ... ... @@ -166,7 +166,7 @@ namespace MatVec { } private: DiagonalMatrix const& mat_; Matrix const& mat_; }; } // end namespace MatVec ... ...
 ... ... @@ -69,7 +69,7 @@ namespace AMDiS // The transposed inverse Jacobian of the map from the reference element to the element const auto jacobian = contextGeo.geometry().jacobianInverseTransposed(local); auto&& jacobian_mat = as_matrix(jacobian); auto&& jacobian_mat = Dune::MatVec::as_matrix(jacobian); assert(jacobian.M() == CG::dim); // The multiplicative factor in the integral transformation formula ... ...
 ... ... @@ -67,7 +67,7 @@ namespace AMDiS // The transposed inverse Jacobian of the map from the reference element to the element const auto jacobian = contextGeo.geometry().jacobianInverseTransposed(local); auto&& jacobian_mat = as_matrix(jacobian); auto&& jacobian_mat = Dune::MatVec::as_matrix(jacobian); // The multiplicative factor in the integral transformation formula const auto factor = contextGeo.integrationElement(quad[iq].position()) * quad[iq].weight(); ... ...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!