MFEM v4.7.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 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 326 of file geom.hpp.

Constructor & Destructor Documentation

◆ GeometryRefiner()

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

Definition at line 338 of file geom.hpp.

◆ ~GeometryRefiner()

mfem::GeometryRefiner::~GeometryRefiner ( )

Definition at line 1100 of file geom.cpp.

Member Function Documentation

◆ GetRefinementLevelFromElems()

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

Get the Refinement level based on number of elements.

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

◆ GetType()

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

Get the Quadrature1D type of points used for subdivision.

Definition at line 343 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 1670 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 341 of file geom.hpp.


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