Skip to content
Snippets Groups Projects
Commit 7bd10d34 authored by wenqing's avatar wenqing
Browse files

Revert "[NumLib] Modified TestGradShapeFunction according to the change in computeMappingMatrices"

This reverts commit f73976db.
parent d0496a0a
No related branches found
No related tags found
No related merge requests found
......@@ -53,12 +53,11 @@ template <class TestFeType_, template <typename, int> class ShapeMatrixPolicy_>
struct TestCase
{
using TestFeType = TestFeType_;
static const int GlobalDim = TestFeType::global_dim;
using ShapeMatrixTypes =
ShapeMatrixPolicy_<typename TestFeType::ShapeFunction,
TestFeType::ShapeFunction::DIM>;
ShapeMatrixPolicy_<typename TestFeType::ShapeFunction, GlobalDim>;
template <typename X>
using ShapeMatrixPolicy =
ShapeMatrixPolicy_<X, TestFeType::ShapeFunction::DIM>;
using ShapeMatrixPolicy = ShapeMatrixPolicy_<X, GlobalDim>;
};
using TestTypes =
......@@ -109,7 +108,7 @@ public:
using ShapeMatrixPolicy = typename T::template ShapeMatrixPolicy<X>;
using MeshElementType = typename TestFeType::MeshElementType;
static const unsigned dim = TestFeType::dim;
static const int dim = TestFeType::dim;
static const unsigned e_nnodes = TestFeType::e_nnodes;
static const unsigned n_sample_pt_order2 = TestFeType::n_sample_pt_order2;
static const unsigned n_sample_pt_order3 = TestFeType::n_sample_pt_order3;
......@@ -158,7 +157,7 @@ public:
}; // NumLibFemIsoTest
template <class T>
const unsigned GradShapeFunctionTest<T>::dim;
const int GradShapeFunctionTest<T>::dim;
template <class T>
const unsigned GradShapeFunctionTest<T>::e_nnodes;
......
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