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

Constructor & Destructor Documentation

mfem::GeometryRefiner::GeometryRefiner ( )

Definition at line 901 of file geom.cpp.

mfem::GeometryRefiner::~GeometryRefiner ( )

Definition at line 906 of file geom.cpp.

Member Function Documentation

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

Get the Refinement level based on number of elements.

Definition at line 1479 of file geom.cpp.

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

Get the Refinement level based on number of points.

Definition at line 1412 of file geom.cpp.

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

Get the Quadrature1D type of points used for subdivision.

Definition at line 269 of file geom.hpp.

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

Definition at line 942 of file geom.cpp.

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

Definition at line 1333 of file geom.cpp.

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

Set the Quadrature1D type of points to use for subdivision.

Definition at line 267 of file geom.hpp.


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