24 Polynomials::Monomial<double>::generate_complete_basis(p))
27 std::vector<unsigned int>
index_map(this->
n());
36 std::vector<unsigned int> &index_map)
const
38 Assert(index_map.size() == this->n(),
42 for (
unsigned int i = 0; i < this->n(); ++i)
49 const unsigned int imap2[6][21] = {
53 {0, 1, 4, 5, 2, 7, 6, 8, 3, 9},
54 {0, 1, 5, 6, 2, 9, 7, 10, 3, 12, 11, 8, 13, 4, 14},
55 {0, 1, 6, 7, 2, 11, 8, 12, 3, 15, 13, 9, 16, 4, 18, 14, 17, 10, 19, 5, 20}};
61 std::vector<unsigned int> &index_map)
const
63 Assert(index_map.size() == this->n(),
73 for (
unsigned int i = 0; i < this->n(); ++i)
74 index_map[i] = imap2[p][i];
80 const unsigned int imap3[4][20] = {{0},
82 {0, 1, 3, 6, 4, 7, 8, 2, 5, 9},
83 {0, 1, 4, 10, 5, 11, 13, 2, 7, 16,
84 14, 6, 12, 8, 15, 17, 18, 3, 9, 19}};
90 std::vector<unsigned int> &index_map)
const
92 Assert(index_map.size() == this->n(),
102 for (
unsigned int i = 0; i < this->n(); ++i)
103 index_map[i] = imap3[p][i];
void set_numbering(const std::vector< unsigned int > &renumber)
std::vector< unsigned int > index_map
void create_polynomial_ordering(std::vector< unsigned int > &index_map) const
PolynomialsP(const unsigned int p)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcNotImplemented()
#define Assert(cond, exc)
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)