MFEM  v4.6.0
Finite element discretization library
Public Member Functions | List of all members
mfem::GeometryRefiner Class Reference

#include <geom.hpp>

Public Member Functions

 GeometryRefiner ()
 
void SetType (const int t)
 Set the Quadrature1D type of points to use for subdivision. More...
 
int GetType () const
 Get the Quadrature1D type of points used for subdivision. More...
 
RefinedGeometryRefine (Geometry::Type Geom, int Times, int ETimes=1)
 
const IntegrationRuleRefineInterior (Geometry::Type Geom, int Times)
 
virtual int GetRefinementLevelFromPoints (Geometry::Type Geom, int Npts)
 Get the Refinement level based on number of points. More...
 
virtual int GetRefinementLevelFromElems (Geometry::Type geom, int Npts)
 Get the Refinement level based on number of elements. More...
 
 ~GeometryRefiner ()
 

Detailed Description

Definition at line 323 of file geom.hpp.

Constructor & Destructor Documentation

◆ GeometryRefiner()

mfem::GeometryRefiner::GeometryRefiner ( )

Definition at line 1058 of file geom.cpp.

◆ ~GeometryRefiner()

mfem::GeometryRefiner::~GeometryRefiner ( )

Definition at line 1063 of file geom.cpp.

Member Function Documentation

◆ GetRefinementLevelFromElems()

int mfem::GeometryRefiner::GetRefinementLevelFromElems ( Geometry::Type  geom,
int  Npts 
)
virtual

Get the Refinement level based on number of elements.

Definition at line 1732 of file geom.cpp.

◆ GetRefinementLevelFromPoints()

int mfem::GeometryRefiner::GetRefinementLevelFromPoints ( Geometry::Type  Geom,
int  Npts 
)
virtual

Get the Refinement level based on number of points.

Definition at line 1665 of file geom.cpp.

◆ GetType()

int mfem::GeometryRefiner::GetType ( ) const
inline

Get the Quadrature1D type of points used for subdivision.

Definition at line 340 of file geom.hpp.

◆ Refine()

RefinedGeometry * mfem::GeometryRefiner::Refine ( Geometry::Type  Geom,
int  Times,
int  ETimes = 1 
)

Definition at line 1099 of file geom.cpp.

◆ RefineInterior()

const IntegrationRule * mfem::GeometryRefiner::RefineInterior ( Geometry::Type  Geom,
int  Times 
)
Note
This method always uses Quadrature1D::OpenUniform points.

Definition at line 1586 of file geom.cpp.

◆ SetType()

void mfem::GeometryRefiner::SetType ( const int  t)
inline

Set the Quadrature1D type of points to use for subdivision.

Definition at line 338 of file geom.hpp.


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