MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::Quadrature1D Class Reference

A class container for 1D quadrature type constants. More...

#include <intrules.hpp>

Public Types

enum  {
  Invalid = -1 , GaussLegendre = 0 , GaussLobatto = 1 , OpenUniform = 2 ,
  ClosedUniform = 3 , OpenHalfUniform = 4 , ClosedGL = 5
}
 

Static Public Member Functions

static int CheckClosed (int type)
 If the Quadrature1D type is not closed return Invalid; otherwise return type.
 
static int CheckOpen (int type)
 If the Quadrature1D type is not open return Invalid; otherwise return type.
 

Detailed Description

A class container for 1D quadrature type constants.

Definition at line 393 of file intrules.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Invalid 
GaussLegendre 
GaussLobatto 
OpenUniform 

aka open Newton-Cotes

ClosedUniform 

aka closed Newton-Cotes

OpenHalfUniform 

aka "open half" Newton-Cotes

ClosedGL 

aka closed Gauss Legendre

Definition at line 396 of file intrules.hpp.

Member Function Documentation

◆ CheckClosed()

int mfem::Quadrature1D::CheckClosed ( int type)
static

If the Quadrature1D type is not closed return Invalid; otherwise return type.

Definition at line 928 of file intrules.cpp.

◆ CheckOpen()

int mfem::Quadrature1D::CheckOpen ( int type)
static

If the Quadrature1D type is not open return Invalid; otherwise return type.

Definition at line 941 of file intrules.cpp.


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