Skip to content
Snippets Groups Projects
Commit 8a73a85d authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[NL] adapted to removed files

parent 902dd43d
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,6 @@
#include <logog/include/logog.hpp>
#include "MathLib/LinAlg/MatrixTools.h"
#include "MeshLib/ElementCoordinatesMappingLocal.h"
#include "MeshLib/CoordinateSystem.h"
......@@ -127,7 +126,7 @@ computeMappingMatrices(
}
}
shapemat.detJ = MathLib::determinant(shapemat.J);
shapemat.detJ = shapemat.J.determinant();
#ifndef NDEBUG
if (shapemat.detJ<=.0)
......@@ -176,8 +175,7 @@ computeMappingMatrices(
if (shapemat.detJ>.0) {
//J^-1, dshape/dx
//shapemat.invJ.noalias() = shapemat.J.inverse();
MathLib::inverse(shapemat.J, shapemat.detJ, shapemat.invJ);
shapemat.invJ.noalias() = shapemat.J.inverse();
auto const nnodes(shapemat.dNdr.cols());
auto const ele_dim(shapemat.dNdr.rows());
......
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