MFEM  v4.5.2
Finite element discretization library
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. More...
 
void Set (int GeomType, int Order, IntegrationRule &IntRule)
 
void SetOwnRules (int o)
 
 ~IntegrationRules ()
 Destroys an IntegrationRules object. More...
 

Detailed Description

Container class for integration rules.

Definition at line 311 of file intrules.hpp.

Constructor & Destructor Documentation

◆ IntegrationRules()

mfem::IntegrationRules::IntegrationRules ( int  Ref = 0,
int  type = Quadrature1D::GaussLegendre 
)
explicit

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 886 of file intrules.cpp.

◆ ~IntegrationRules()

mfem::IntegrationRules::~IntegrationRules ( )

Destroys an IntegrationRules object.

Definition at line 1016 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 923 of file intrules.cpp.

◆ Set()

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

Definition at line 970 of file intrules.cpp.

◆ SetOwnRules()

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

Definition at line 372 of file intrules.hpp.


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