Skip to content

Commit d914af6

Browse files
committed
Unit tests for Lagrange Pyramid18
1 parent b1273d2 commit d914af6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/fe/fe_lagrange_test.C

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ INSTANTIATE_FETEST(THIRD, LAGRANGE, PRISM21);
3838
INSTANTIATE_FETEST(FIRST, LAGRANGE, PYRAMID5);
3939
INSTANTIATE_FETEST(SECOND, LAGRANGE, PYRAMID13);
4040
INSTANTIATE_FETEST(SECOND, LAGRANGE, PYRAMID14);
41+
INSTANTIATE_FETEST(THIRD, LAGRANGE, PYRAMID18);
4142
#endif

tests/fe/fe_test.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ Gradient rational_test_grad (const Point& p,
254254
#define FE_CAN_TEST_CUBIC \
255255
(((family != LAGRANGE && family != L2_LAGRANGE) || \
256256
(elem_type != TRI7 && elem_type != TET14 && \
257-
elem_type != PRISM20 && elem_type != PRISM21)) && order > 2)
257+
elem_type != PRISM20 && elem_type != PRISM21 && \
258+
elem_type != PYRAMID18)) && order > 2)
258259

259260

260261
template <Order order, FEFamily family, ElemType elem_type, unsigned int build_nx>

0 commit comments

Comments
 (0)