15 const size_t np = legendre.
qpoints_.size();
22 for (
unsigned int i=0; i<np; i++)
23 for (
unsigned int j=0; j<np; j++)
44 const size_t np = legendre.
qpoints_.size();
46 qpoints_.resize(np * np * np);
47 weights_.resize(np * np * np);
49 double weight_sum = 0.0;
51 for (
unsigned int i=0; i<np; i++)
52 for (
unsigned int j=0; j<np; j++)
53 for (
unsigned int k=0; k<np; k++)
55 qpoints_[gp](0) = jacobiB.
qpoints_[k](0);
56 qpoints_[gp](1) = jacobiA.
qpoints_ [j](0) *
58 qpoints_[gp](2) = legendre.
qpoints_[i](0) *
61 weights_[gp] = legendre.
weights_[i] *
64 weight_sum += weights_[gp];
68 double w_scale = (1.0/6.0)/weight_sum;
69 for (
auto& v : weights_)
void Initialize_Conical_Product_Tri()
void Initialize_Conical_Product_Tet()
void SetRange(const std::pair< double, double > &in_range)
std::vector< chi_math::QuadraturePointXYZ > qpoints_
std::vector< double > weights_