44 assert(igp < order * order * order);
45 unsigned const gp_r = igp / (order * order);
46 unsigned const gp_s = igp % (order * order);
47 std::array<unsigned, 3> result;
49 result[1] = gp_s / order;
50 result[2] = gp_s % order;
59 assert(igp < std::pow(order, N_DIM));
60 std::array<unsigned, N_DIM>
const pos = getPositionIndices(order, igp);
65 return getWeightedPoint<MathLib::GaussLegendre<1>>(pos);
67 return getWeightedPoint<MathLib::GaussLegendre<2>>(pos);
69 return getWeightedPoint<MathLib::GaussLegendre<3>>(pos);
71 return getWeightedPoint<MathLib::GaussLegendre<4>>(pos);
73 OGS_FATAL(
"Integration order {:d} not implemented.", order);