hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
hpfem::assembly::QuadratureRule< Dim > Struct Template Reference

#include <quadrature.hpp>

Public Member Functions

std::size_t size () const noexcept
 

Public Attributes

std::vector< Point< Dim > > points
 
std::vector< Real > weights
 sum to the measure of the reference domain
 
int order = 0
 polynomials of total degree ≤ order are integrated exactly
 

Detailed Description

template<int Dim>
struct hpfem::assembly::QuadratureRule< Dim >

Points and weights on the reference domain: the interval [0,1] for Dim = 1, the reference triangle / tetrahedron of fespace::ReferenceElement otherwise.

Member Function Documentation

◆ size()

template<int Dim>
std::size_t hpfem::assembly::QuadratureRule< Dim >::size ( ) const
inlinenoexcept

Member Data Documentation

◆ order

template<int Dim>
int hpfem::assembly::QuadratureRule< Dim >::order = 0

polynomials of total degree ≤ order are integrated exactly

◆ points

template<int Dim>
std::vector<Point<Dim> > hpfem::assembly::QuadratureRule< Dim >::points

◆ weights

template<int Dim>
std::vector<Real> hpfem::assembly::QuadratureRule< Dim >::weights

sum to the measure of the reference domain


The documentation for this struct was generated from the following file: