MFEM v4.7.0
Finite element discretization library
No Matches
Public Member Functions | List of all members
mfem::IntegrationRules Class Reference

Container class for integration rules. More...

#include <intrules.hpp>

Public Member Functions

 IntegrationRules (int ref=0, int type=Quadrature1D::GaussLegendre)
const IntegrationRuleGet (int GeomType, int Order)
 Returns an integration rule for given GeomType and Order.
void Set (int GeomType, int Order, IntegrationRule &IntRule)
void SetOwnRules (int o)
 ~IntegrationRules ()
 Destroys an IntegrationRules object.

Detailed Description

Container class for integration rules.

Definition at line 415 of file intrules.hpp.

Constructor & Destructor Documentation

◆ IntegrationRules()

mfem::IntegrationRules::IntegrationRules ( int  ref = 0,
int  type = Quadrature1D::GaussLegendre 

Sets initial sizes for the integration rule arrays, but rules are defined the first time they are requested with the Get method.

Definition at line 961 of file intrules.cpp.

◆ ~IntegrationRules()

mfem::IntegrationRules::~IntegrationRules ( )

Destroys an IntegrationRules object.

Definition at line 1109 of file intrules.cpp.

Member Function Documentation

◆ Get()

const IntegrationRule & mfem::IntegrationRules::Get ( int  GeomType,
int  Order 

Returns an integration rule for given GeomType and Order.

Definition at line 1006 of file intrules.cpp.

◆ Set()

void mfem::IntegrationRules::Set ( int  GeomType,
int  Order,
IntegrationRule IntRule 

Definition at line 1056 of file intrules.cpp.

◆ SetOwnRules()

void mfem::IntegrationRules::SetOwnRules ( int  o)

Definition at line 479 of file intrules.hpp.

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