MFEM  v4.6.0
Finite element discretization library
Public Types | Static Public Member Functions | List of all members
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. More...
 
static int CheckOpen (int type)
 If the Quadrature1D type is not open return Invalid; otherwise return type. More...
 

Detailed Description

A class container for 1D quadrature type constants.

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


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