MFEM  v4.1.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
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 307 of file intrules.hpp.

Constructor & Destructor Documentation

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

mfem::IntegrationRules::~IntegrationRules ( )

Destroys an IntegrationRules object.

Definition at line 981 of file intrules.cpp.

Member Function Documentation

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

Returns an integration rule for given GeomType and Order.

Definition at line 890 of file intrules.cpp.

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

Definition at line 936 of file intrules.cpp.

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

Definition at line 369 of file intrules.hpp.


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