56 Vector nodes, weights, control_points;
61 Vector nodes_int, weights_int;
67 static constexpr int min_ncp_gl_x[2][11]= {{3,5,6,8,9,10,11,11,12,13,14},
68 {3,5,8,9,11,12,14,15,17,18,20}
73 static constexpr int min_ncp_gll_x[2][11]= {{3,5,7,8,9,10,12,13,14,15,16},
74 {3,5,8,10,12,13,15,17,19,21,22}
79 static constexpr int min_ncp_pos_x[2][11]= {{3,5,7,8,8,9,10,10,11,12,13},
80 {3,5,8,9,11,12,13,13,14,15,16}
85 PLBound(
const int nb_i,
const int ncp_i,
const int b_type_i,
86 const int cp_type_i,
const real_t tol_i)
88 Setup(nb_i, ncp_i, b_type_i, cp_type_i, tol_i);
93 const int ncp_i = -1,
const int cp_type_i = 0);
131 void Setup(
const int nb_i,
const int ncp_i,
const int b_type_i,
132 const int cp_type_i,
const real_t tol_i);
real_t proj(GridFunction &psi, real_t target_volume, real_t tol=1e-12, int max_its=10)
Bregman projection of ρ = sigmoid(ψ) onto the subspace ∫_Ω ρ dx = θ vol(Ω) as follows: