Chi-Tech
chi_math::QuadratureTetrahedron Class Reference

#include <quadrature_tetrahedron.h>

Inheritance diagram for chi_math::QuadratureTetrahedron:
chi_math::Quadrature ChiObject

Public Member Functions

 QuadratureTetrahedron (QuadratureOrder order)
 
void KeastRule (const std::vector< std::vector< double > > &rule_data, const unsigned int n_pts)
 
- Public Member Functions inherited from chi_math::Quadrature
const std::pair< double, double > & GetRange () const
 
void SetRange (const std::pair< double, double > &in_range)
 
- Public Member Functions inherited from ChiObject
 ChiObject ()
 
 ChiObject (const chi::InputParameters &params)
 
void SetStackID (size_t stack_id)
 
size_t StackID () const
 
virtual void PushOntoStack (std::shared_ptr< ChiObject > &new_object)
 
virtual ~ChiObject ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from chi_math::Quadrature
static chi::InputParameters GetInputParameters ()
 
- Static Public Member Functions inherited from ChiObject
static chi::InputParameters GetInputParameters ()
 
- Data Fields inherited from chi_math::Quadrature
QuadratureOrder order_
 
std::vector< chi_math::QuadraturePointXYZqpoints_
 
std::vector< double > weights_
 
- Protected Member Functions inherited from chi_math::Quadrature
 Quadrature (const chi::InputParameters &params)
 
 Quadrature (QuadratureOrder in_order)
 
- Protected Attributes inherited from chi_math::Quadrature
std::pair< double, double > range_
 
bool verbose_ = false
 

Detailed Description

Quadrature set for tetrahedrons.

Definition at line 13 of file quadrature_tetrahedron.h.

Constructor & Destructor Documentation

◆ QuadratureTetrahedron()

chi_math::QuadratureTetrahedron::QuadratureTetrahedron ( QuadratureOrder  order)
explicit

Initialzes a set of points for a quadrature integration over the volume of a tetrahedron.

Definition at line 12 of file quadrature_tetrahedron.cc.

Member Function Documentation

◆ KeastRule()

void chi_math::QuadratureTetrahedron::KeastRule ( const std::vector< std::vector< double > > &  rule_data,
const unsigned int  n_pts 
)

The Keast rules are for tets. This function takes permutation points and weights in a specific format as input and fills the _points and _weights vectors.

Definition at line 175 of file quadrature_tetrahedron.cc.


The documentation for this class was generated from the following files: