62 Vector nodes, weights, control_points;
67 Vector nodes_int, weights_int;
73 static constexpr int min_ncp_gl_x[2][11]= {{3,5,6,8,9,10,11,11,12,13,14},
74 {3,5,8,9,11,12,14,15,17,18,20}
79 static constexpr int min_ncp_gll_x[2][11]= {{3,5,7,8,9,10,12,13,14,15,16},
80 {3,5,8,10,12,13,15,17,19,21,22}
85 static constexpr int min_ncp_pos_x[2][11]= {{3,5,7,8,8,9,10,10,11,12,13},
86 {3,5,8,9,11,12,13,13,14,15,16}
94 PLBound(
const int nb_i,
const int ncp_i,
const int b_type_i,
95 const int cp_type_i,
const real_t tol_i)
97 Setup(nb_i, ncp_i, b_type_i, cp_type_i, tol_i);
102 const int ncp_i = -1,
const int cp_type_i = 0);
106 int cp_type_i)
const;
182 void Setup(
const int nb_i,
const int ncp_i,
const int b_type_i,
183 const int cp_type_i,
const real_t tol_i);
void GetNDBounds(const int rdim, const Vector &coeff, Vector &intmin, Vector &intmax) const
Compute piecewise linear bounds for the lexicographically-ordered nodal coefficients in coeff in 1D/2...
real_t proj(GridFunction &psi, GridFunction &alpha_grad, real_t target_volume, real_t tol=1e-12, int max_its=100)
Bregman projection of ρ = sigmoid(ψ) onto the subspace ∫_Ω ρ dx = θ vol(Ω) as follows: