54 double total_area = 0.0;
55 double area_max = -100.0;
56 double area_min = 100.0;
57 bool negative_weights_found =
false;
61 for (
int i=0; i<4; ++i)
63 area += sq.sub_sqr_weights[i];
64 if (area < 0.0) negative_weights_found =
true;
67 area_max = std::fmax(area_max,area);
68 area_min = std::fmin(area_min,area);
72 if (negative_weights_found)
74 <<
"SLDFESQ Quadrature detected negative weights.";
77 double time = timer.
GetTime()/1000.0;
std::vector< SphericalQuadrilateral > initial_octant_SQs_
void GenerateReferenceFaceVertices(const chi_mesh::Matrix3x3 &rotation_matrix, const chi_mesh::Vector3 &translation, int level)
void GenerateInitialRefinement(int level)
void PopulateQuadratureAbscissae()
static constexpr double a
Inscribed cude side length.
void GenerateDiagonalSpacings(int level)
void SetColJVec(int j, Vector3 vec)
void SetDiagonalVec(double a00, double a11, double a22)