PTEMS  0.1.0-dev+git.81fd0e4
PolyTopic Element Method Solver
ptems::QuadraturePoint< DIM > Struct Template Reference

Denotes a quadrature point and weight to use for quadrature on a reference element. More...

#include <ptems/quadrature.hpp>

Collaboration diagram for ptems::QuadraturePoint< DIM >:

Public Member Functions

 QuadraturePoint ()
 Create an empty quadrature point. More...
 
 QuadraturePoint (const Vector< DIM > &pt, double weight)
 Create a quadrature point with the specified point and weight. More...
 
template<typename... T>
 QuadraturePoint (double x, T... y, double weight)
 Create a quadrature point with the specified point and weight. More...
 

Public Attributes

Vector< DIM > Point
 The quadrature point. More...
 
double Weight
 The quadrature weight. More...
 

Detailed Description

template<std::size_t DIM>
struct ptems::QuadraturePoint< DIM >

Denotes a quadrature point and weight to use for quadrature on a reference element.

Template Parameters
DIMThe dimension of the point

Constructor & Destructor Documentation

◆ QuadraturePoint() [1/3]

template<std::size_t DIM>
ptems::QuadraturePoint< DIM >::QuadraturePoint ( )
inline

Create an empty quadrature point.

◆ QuadraturePoint() [2/3]

template<std::size_t DIM>
ptems::QuadraturePoint< DIM >::QuadraturePoint ( const Vector< DIM > &  pt,
double  weight 
)
inline

Create a quadrature point with the specified point and weight.

Parameters
ptThe quadrature point
weightThe quadrature weight

◆ QuadraturePoint() [3/3]

template<std::size_t DIM>
template<typename... T>
ptems::QuadraturePoint< DIM >::QuadraturePoint ( double  x,
T...  y,
double  weight 
)
inline

Create a quadrature point with the specified point and weight.

Template Parameters
TType convertible to double for use in construction of point. Must be DIM-1 values.
Parameters
xX coordinate of the quadrature point
yRest of the coordinate values of the quadrature point
weightThe quadrature weight

Member Data Documentation

◆ Point

template<std::size_t DIM>
Vector<DIM> ptems::QuadraturePoint< DIM >::Point

The quadrature point.

◆ Weight

template<std::size_t DIM>
double ptems::QuadraturePoint< DIM >::Weight

The quadrature weight.


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