MFEM v2.0
Public Member Functions | Private Member Functions | Private Attributes
IntegrationRules Class Reference

Container class for integration rules. More...

#include <intrules.hpp>

Collaboration diagram for IntegrationRules:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IntegrationRules (int refined=0)
 Defines all integration rules.
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.

Private Member Functions

void PointIntegrationRules ()
void SegmentIntegrationRules (int refined)
void TriangleIntegrationRules (int refined)
void SquareIntegrationRules ()
void TetrahedronIntegrationRules (int refined)
void CubeIntegrationRules ()
 Integration rules for reference cube.
void DeleteIntRuleArray (Array< IntegrationRule * > &ir_array)

Private Attributes

int own_rules
Array< IntegrationRule * > PointIntRules
Array< IntegrationRule * > SegmentIntRules
Array< IntegrationRule * > TriangleIntRules
Array< IntegrationRule * > SquareIntRules
Array< IntegrationRule * > TetrahedronIntRules
Array< IntegrationRule * > CubeIntRules

Detailed Description

Container class for integration rules.

Definition at line 200 of file intrules.hpp.


Constructor & Destructor Documentation

IntegrationRules::IntegrationRules ( int  refined = 0) [explicit]
IntegrationRules::~IntegrationRules ( )

Member Function Documentation

void IntegrationRules::CubeIntegrationRules ( ) [private]

Integration rules for reference cube.

Definition at line 792 of file intrules.cpp.

References CubeIntRules, SegmentIntRules, Array< T >::SetSize(), and Array< T >::Size().

Referenced by IntegrationRules().

void IntegrationRules::DeleteIntRuleArray ( Array< IntegrationRule * > &  ir_array) [private]

Definition at line 247 of file intrules.cpp.

References Array< T >::Size().

Referenced by ~IntegrationRules().

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

Returns an integration rule for given GeomType and Order.

Definition at line 188 of file intrules.cpp.

References Geometry::CUBE, CubeIntRules, mfem_error(), Geometry::Name, Geometry::POINT, PointIntRules, Geometry::SEGMENT, SegmentIntRules, Array< T >::Size(), Geometry::SQUARE, SquareIntRules, Geometry::TETRAHEDRON, TetrahedronIntRules, Geometry::TRIANGLE, and TriangleIntRules.

Referenced by ElasticityIntegrator::AssembleElementMatrix(), VectorDiffusionIntegrator::AssembleElementMatrix(), DivDivIntegrator::AssembleElementMatrix(), VectorFEMassIntegrator::AssembleElementMatrix(), CurlCurlIntegrator::AssembleElementMatrix(), VectorMassIntegrator::AssembleElementMatrix(), ConvectionIntegrator::AssembleElementMatrix(), MassIntegrator::AssembleElementMatrix(), DiffusionIntegrator::AssembleElementMatrix(), VectorDivergenceIntegrator::AssembleElementMatrix2(), VectorFEMassIntegrator::AssembleElementMatrix2(), DerivativeIntegrator::AssembleElementMatrix2(), VectorFECurlIntegrator::AssembleElementMatrix2(), VectorFEDivergenceIntegrator::AssembleElementMatrix2(), MassIntegrator::AssembleElementMatrix2(), VectorFEBoundaryFluxLFIntegrator::AssembleRHSElementVect(), VectorBoundaryFluxLFIntegrator::AssembleRHSElementVect(), VectorFEDomainLFIntegrator::AssembleRHSElementVect(), VectorBoundaryLFIntegrator::AssembleRHSElementVect(), VectorDomainLFIntegrator::AssembleRHSElementVect(), BoundaryLFIntegrator::AssembleRHSElementVect(), DomainLFIntegrator::AssembleRHSElementVect(), DiffusionIntegrator::ComputeFluxEnergy(), GridFunction::ComputeH1Error(), GridFunction::ComputeL1Error(), GridFunction::ComputeL2Error(), GridFunction::ComputeMaxError(), GridFunction::ComputeW11Error(), Mesh::GetElementVolume(), and GridFunction::ProjectBdrCoefficientNormal().

void IntegrationRules::PointIntegrationRules ( ) [private]

Definition at line 270 of file intrules.cpp.

References PointIntRules, and Array< T >::SetSize().

Referenced by IntegrationRules().

void IntegrationRules::SegmentIntegrationRules ( int  refined) [private]
void IntegrationRules::Set ( int  GeomType,
int  Order,
IntegrationRule IntRule 
)
void IntegrationRules::SetOwnRules ( int  o) [inline]

Definition at line 230 of file intrules.hpp.

References own_rules.

void IntegrationRules::SquareIntegrationRules ( ) [private]

Definition at line 700 of file intrules.cpp.

References SegmentIntRules, Array< T >::SetSize(), Array< T >::Size(), and SquareIntRules.

Referenced by IntegrationRules().

void IntegrationRules::TetrahedronIntegrationRules ( int  refined) [private]
void IntegrationRules::TriangleIntegrationRules ( int  refined) [private]

Member Data Documentation

Definition at line 210 of file intrules.hpp.

Referenced by CubeIntegrationRules(), Get(), Set(), and ~IntegrationRules().

Definition at line 203 of file intrules.hpp.

Referenced by IntegrationRules(), SetOwnRules(), and ~IntegrationRules().

Definition at line 205 of file intrules.hpp.

Referenced by Get(), PointIntegrationRules(), Set(), and ~IntegrationRules().

Definition at line 208 of file intrules.hpp.

Referenced by Get(), Set(), SquareIntegrationRules(), and ~IntegrationRules().

Definition at line 209 of file intrules.hpp.

Referenced by Get(), Set(), TetrahedronIntegrationRules(), and ~IntegrationRules().

Definition at line 207 of file intrules.hpp.

Referenced by Get(), Set(), TriangleIntegrationRules(), and ~IntegrationRules().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines