48 const unsigned int n_q_points_1d,
51 if (given_degree == degree)
53 if (n_q_points_1d == degree + 1)
54 return EvaluatorType::template run<degree, degree + 1>(args...);
55 else if (n_q_points_1d == degree + 2)
56 return EvaluatorType::template run<degree, degree + 2>(args...);
57 else if (n_q_points_1d == degree)
58 return EvaluatorType::template run<degree, degree>(args...);
59 else if (n_q_points_1d == (3 * degree) / 2 + 1)
60 return EvaluatorType::template run<degree, (3 * degree) / 2 + 1>(
62 else if ((n_q_points_1d == (2 * degree)) && (degree <= 4))
63 return EvaluatorType::template run<degree, (2 * degree)>(args...);
66 return EvaluatorType::template run<-1, 0>(args...);
71 EvaluatorType>(given_degree, n_q_points_1d, args...);
74 return EvaluatorType::template run<-1, 0>(args...);