Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
vulpes::qrule::QuadratureRule< T, Dim > Struct Template Reference

Represents a quadrature rule consisting of a set of points and associated weights. More...

#include <qrule.hpp>

Public Attributes

std::vector< QuadraturePoint< T, Dim > > nodes
 List of quadrature points.
std::size_t degree
 Polynomial degree of accuracy of the rule.

Detailed Description

template<typename T, std::size_t Dim>
struct vulpes::qrule::QuadratureRule< T, Dim >

Represents a quadrature rule consisting of a set of points and associated weights.

A quadrature rule is used to approximate integrals over a domain. It contains a collection of quadrature points, each with a coordinate and a weight, and the polynomial degree of accuracy.

Template Parameters
TThe data type for the coordinates and weights (e.g., float, double or mpf_float).
DimThe spatial dimension of the quadrature rule.

Member Data Documentation

◆ degree

template<typename T, std::size_t Dim>
std::size_t vulpes::qrule::QuadratureRule< T, Dim >::degree

Polynomial degree of accuracy of the rule.

◆ nodes

template<typename T, std::size_t Dim>
std::vector<QuadraturePoint<T, Dim> > vulpes::qrule::QuadratureRule< T, Dim >::nodes

List of quadrature points.


The documentation for this struct was generated from the following file:
  • /__w/vulpes/vulpes/vulpes/quadrature/qrule.hpp