MFEM v4.8.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::GeometryRefiner Class Reference

#include <geom.hpp>

Public Member Functions

 GeometryRefiner (int t=Quadrature1D::ClosedUniform)
 
void SetType (int t)
 Set the Quadrature1D type of points to use for subdivision.
 
int GetType () const
 Get the Quadrature1D type of points used for subdivision.
 
RefinedGeometryRefine (Geometry::Type Geom, int Times, int ETimes=1)
 
const IntegrationRuleEdgeScan (Geometry::Type Geom, int NPts1d)
 Get an integration rule which scans along the r/s/t=0 edges of the element.
 
const IntegrationRuleRefineInterior (Geometry::Type Geom, int Times)
 
 ~GeometryRefiner ()
 

Static Public Member Functions

static int GetRefinementLevelFromPoints (Geometry::Type Geom, int Npts)
 Get the Refinement level based on number of points.
 
static int GetRefinementLevelFromElems (Geometry::Type geom, int Npts)
 Get the Refinement level based on number of elements.
 

Detailed Description

Definition at line 330 of file geom.hpp.

Constructor & Destructor Documentation

◆ GeometryRefiner()

mfem::GeometryRefiner::GeometryRefiner ( int t = Quadrature1D::ClosedUniform)
inline

Definition at line 348 of file geom.hpp.

◆ ~GeometryRefiner()

mfem::GeometryRefiner::~GeometryRefiner ( )

Definition at line 1100 of file geom.cpp.

Member Function Documentation

◆ EdgeScan()

const IntegrationRule * mfem::GeometryRefiner::EdgeScan ( Geometry::Type Geom,
int NPts1d )

Get an integration rule which scans along the r/s/t=0 edges of the element.

Definition at line 1670 of file geom.cpp.

◆ GetRefinementLevelFromElems()

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

Get the Refinement level based on number of elements.

Definition at line 1972 of file geom.cpp.

◆ GetRefinementLevelFromPoints()

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

Get the Refinement level based on number of points.

Definition at line 1904 of file geom.cpp.

◆ GetType()

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

Get the Quadrature1D type of points used for subdivision.

Definition at line 353 of file geom.hpp.

◆ Refine()

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

Definition at line 1136 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 1793 of file geom.cpp.

◆ SetType()

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

Set the Quadrature1D type of points to use for subdivision.

Definition at line 351 of file geom.hpp.


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