OpenMD 3.1
Molecular Dynamics in the Open

Public Member Functions  
GaussianTriangleQuadratureRule (int order)  
Constructs the Gaussian quadrature rule of the specified order, which must be between 1 and 5.  
Public Member Functions inherited from OpenMD::TriangleQuadratureRule  
TriangleQuadratureRule (const TriangleQuadratureRule &)=default  
TriangleQuadratureRule &  operator= (const TriangleQuadratureRule &)=default 
TriangleQuadratureRule (TriangleQuadratureRule &&)=default  
TriangleQuadratureRule &  operator= (TriangleQuadratureRule &&)=default 
int  order () const 
Returns the order of this rule.  
const std::vector< Vector2d > &  quadrature_points () const 
Returns the vector of quadrature points. These are returned as the first two barycentric coordinates b0 b1; the third is just b2 = 1  b0  b1. Each of these has a corresponding weight returned by weights().  
const std::vector< RealType > &  weights () const 
Returns the vector of weights. These sum to 1 and there is one weight for each point returned by quadrature_points().  
Additional Inherited Members 
Definition at line 16 of file GaussianTriangleQuadrature.hpp.

inlineexplicit 
Constructs the Gaussian quadrature rule of the specified order, which must be between 1 and 5.
Definition at line 20 of file GaussianTriangleQuadrature.hpp.
References OpenMD::TriangleQuadratureRule::order().